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 String DEFAULT_SSL_PROTOCOL
           
 
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, 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

DEFAULT_SSL_PROTOCOL

public static final String DEFAULT_SSL_PROTOCOL
See Also:
Constant Field Values
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


Copyright © 2003-2013 Atlassian. All Rights Reserved.