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

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

public class HttpClientHttpRetrievalService
extends BaseHttpRetrievalService


Field Summary
static org.apache.log4j.Category log
           
 
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
 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, getDefaultRequestFor, getHttpRetrievalServiceConfig, setBandanaManager, setHttpRetrievalServiceConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Category log
Constructor Detail

HttpClientHttpRetrievalService

public HttpClientHttpRetrievalService()
Method Detail

get

public HttpResponse get(HttpRequest httpRequest)
                 throws 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:
IOException - if the retrieval fails

getAvailableAuthenticators

public 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


Confluence is developed by Atlassian.