public class ConfluenceHttpClientRequestFactory extends Object implements com.atlassian.sal.api.net.NonMarshallingRequestFactory<com.atlassian.sal.api.net.Request<?,?>>
HttpClientRequestFactory which configures the
 connection parameters using ConfluenceHttpParameters rather than using
 SAL's own defaults.
 
 In confluence 5.9, the system property specified by SystemPropertiesConnectionConfig.HTTP_CONNECTION_TIMEOUT_PROPERTY_NAME
 and SystemPropertiesConnectionConfig.HTTP_SOCKET_TIMEOUT_PROPERTY_NAME will be used to override the value in confluence,
 if they are provided.
| Constructor and Description | 
|---|
| ConfluenceHttpClientRequestFactory(SettingsManager settingsManager,
                                  org.springframework.aop.Advisor classLoaderAdvisor) | 
| Modifier and Type | Method and Description | 
|---|---|
| com.atlassian.sal.api.net.Request | createRequest(com.atlassian.sal.api.net.Request.MethodType methodType,
             String url) | 
| boolean | supportsHeader() | 
public ConfluenceHttpClientRequestFactory(SettingsManager settingsManager, org.springframework.aop.Advisor classLoaderAdvisor)
public com.atlassian.sal.api.net.Request createRequest(com.atlassian.sal.api.net.Request.MethodType methodType,
                                                       String url)
createRequest in interface com.atlassian.sal.api.net.RequestFactory<com.atlassian.sal.api.net.Request<?,?>>SystemPropertiesConnectionConfig.HTTP_CONNECTION_TIMEOUT_PROPERTY_NAME and
 SystemPropertiesConnectionConfig.HTTP_SOCKET_TIMEOUT_PROPERTY_NAME if they are set.public boolean supportsHeader()
supportsHeader in interface com.atlassian.sal.api.net.RequestFactory<com.atlassian.sal.api.net.Request<?,?>>Copyright © 2003–2021 Atlassian. All rights reserved.