Class HttpClientHttpRetrievalService
- java.lang.Object
-
- com.atlassian.confluence.util.http.BaseHttpRetrievalService
-
- com.atlassian.confluence.util.http.httpclient.HttpClientHttpRetrievalService
-
- All Implemented Interfaces:
HttpRetrievalService
@Deprecated(forRemoval=true) public class HttpClientHttpRetrievalService extends BaseHttpRetrievalService
Deprecated, for removal: This API element is subject to removal in a future version.since 7.0.1 will be removed in 9.0 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, for removal: This API element is subject to removal in a future version.-
Fields inherited from class com.atlassian.confluence.util.http.BaseHttpRetrievalService
bandanaManager, outboundWhitelist
-
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, NET_REQUEST_ALLOW_ALL_HOSTS
-
-
Constructor Summary
Constructors Constructor Description HttpClientHttpRetrievalService()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HttpResponse
get(HttpRequest httpRequest)
Deprecated, for removal: This API element is subject to removal in a future version.Retrieve a URL using custom HttpRequest settingsClass[]
getAvailableAuthenticators()
Deprecated, for removal: This API element is subject to removal in a future version.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, setOutboundWhitelist, setSettingsManager
-
-
-
-
Field Detail
-
MAX_REDIRECTS
public static final int MAX_REDIRECTS
Deprecated, for removal: This API element is subject to removal in a future version.- 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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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
-
-