Class HttpClientHttpRetrievalService
- java.lang.Object
-
- com.atlassian.confluence.util.http.BaseHttpRetrievalService
-
- com.atlassian.confluence.util.http.httpclient.HttpClientHttpRetrievalService
-
- All Implemented Interfaces:
HttpRetrievalService
@Deprecated public class HttpClientHttpRetrievalService extends BaseHttpRetrievalService
Deprecated.since 7.0.1 UseRequestFactory
orReadOnlyApplicationLink
instead.- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SSL_PROTOCOL
Deprecated.since 6.5.static int
MAX_REDIRECTS
Deprecated.-
Fields inherited from interface com.atlassian.confluence.util.http.HttpRetrievalService
DEFAULT_MAX_CACHE_AGE, DEFAULT_MAX_DOWNLOAD_SIZE, HTTP_INCLUDE_STACK_MAX_DEPTH, HTTP_USER_AGENT_STRING
-
-
Constructor Summary
Constructors Constructor Description HttpClientHttpRetrievalService()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HttpResponse
get(HttpRequest httpRequest)
Deprecated.Retrieve a URL using custom HttpRequest settingsClass[]
getAvailableAuthenticators()
Deprecated.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
-
-
-
-
Field Detail
-
MAX_REDIRECTS
public static final int MAX_REDIRECTS
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_SSL_PROTOCOL
@Deprecated public static final String DEFAULT_SSL_PROTOCOL
Deprecated.since 6.5. Not used.- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public HttpResponse get(HttpRequest httpRequest) throws IOException
Deprecated.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()
Deprecated.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
-
-