com.atlassian.confluence.util.http.httpclient
Class HttpClientHttpRetrievalService

java.lang.Object
  extended by com.atlassian.confluence.util.http.BaseHttpRetrievalService
      extended by com.atlassian.confluence.util.http.httpclient.HttpClientHttpRetrievalService
All Implemented Interfaces:
HttpRetrievalService

public class HttpClientHttpRetrievalService
extends BaseHttpRetrievalService


Field Summary
static java.lang.String DEFAULT_SSL_PROTOCOL
           
static int MAX_REDIRECTS
           
 
Fields inherited from interface com.atlassian.confluence.util.http.HttpRetrievalService
DEFAULT_MAX_CACHE_AGE, DEFAULT_MAX_DOWNLOAD_SIZE, HTTP_INCLUDE_STACK_HEADER, HTTP_INCLUDE_STACK_MAX_DEPTH, HTTP_USER_AGENT_STRING
 
Constructor Summary
HttpClientHttpRetrievalService()
           
 
Method Summary
 HttpResponse get(HttpRequest httpRequest)
          Retrieve a URL using custom HttpRequest settings
 java.lang.Class[] getAvailableAuthenticators()
          Retrieve the list of authenticators that can be used with this HttpRetrievalService
 
Methods inherited from class com.atlassian.confluence.util.http.BaseHttpRetrievalService
get, getConnectionParameters, getDefaultRequestFor, getHttpRetrievalServiceConfig, setBandanaManager, setHttpRetrievalServiceConfig, setSettingsManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_REDIRECTS

public static final int MAX_REDIRECTS
See Also:
Constant Field Values

DEFAULT_SSL_PROTOCOL

public static final java.lang.String DEFAULT_SSL_PROTOCOL
See Also:
Constant Field Values
Constructor Detail

HttpClientHttpRetrievalService

public HttpClientHttpRetrievalService()
Method Detail

get

public HttpResponse get(HttpRequest httpRequest)
                 throws java.io.IOException
Description copied from interface: HttpRetrievalService
Retrieve a URL using custom HttpRequest settings

Parameters:
httpRequest - the request we want to make
Returns:
a response object encapsulating the result of the request
Throws:
java.io.IOException - if the retrieval fails

getAvailableAuthenticators

public java.lang.Class[] getAvailableAuthenticators()
Description copied from interface: HttpRetrievalService
Retrieve the list of authenticators that can be used with this HttpRetrievalService

Returns:
the list of authenticators that can be used with this HttpRetrievalService


Copyright © 2003-2014 Atlassian. All Rights Reserved.