public class ConfluenceHttpClientTrustedRequestFactory extends Object implements com.atlassian.sal.api.net.TrustedRequestFactory<com.atlassian.sal.core.net.HttpClientTrustedRequest>
ConfluenceHttpClientRequestFactory
HttpClientTrustedRequestFactory
Constructor and Description |
---|
ConfluenceHttpClientTrustedRequestFactory(SettingsManager settingsManager,
com.atlassian.sal.core.net.HttpClientTrustedRequestFactory trustedRequestFactory) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.sal.core.net.HttpClientRequest |
createRequest(com.atlassian.sal.api.net.Request.MethodType methodType,
String url) |
com.atlassian.sal.core.net.HttpClientTrustedRequest |
createTrustedRequest(com.atlassian.sal.api.net.Request.MethodType methodType,
String url) |
boolean |
supportsHeader() |
public ConfluenceHttpClientTrustedRequestFactory(SettingsManager settingsManager, com.atlassian.sal.core.net.HttpClientTrustedRequestFactory trustedRequestFactory)
public com.atlassian.sal.core.net.HttpClientTrustedRequest createTrustedRequest(com.atlassian.sal.api.net.Request.MethodType methodType, String url)
createTrustedRequest
in interface com.atlassian.sal.api.net.TrustedRequestFactory<com.atlassian.sal.core.net.HttpClientTrustedRequest>
SystemPropertiesConnectionConfig.HTTP_CONNECTION_TIMEOUT_PROPERTY_NAME
and
SystemPropertiesConnectionConfig.HTTP_SOCKET_TIMEOUT_PROPERTY_NAME
if they are set.public com.atlassian.sal.core.net.HttpClientRequest createRequest(com.atlassian.sal.api.net.Request.MethodType methodType, String url)
createRequest
in interface com.atlassian.sal.api.net.RequestFactory
public boolean supportsHeader()
supportsHeader
in interface com.atlassian.sal.api.net.RequestFactory
Copyright © 2003–2017 Atlassian. All rights reserved.