Package com.amazonaws.http.settings
Class HttpClientSettings
java.lang.Object
com.amazonaws.http.settings.HttpClientSettings
A convienient class that expose all settings in
ClientConfiguration
and other internal settings to the
underlying http client.-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpClientSettings
adapt
(ClientConfiguration config) static HttpClientSettings
adapt
(ClientConfiguration config, boolean useBrowserCompatibleHostNameVerifier) int
long
int
int
long
int
int[]
int
boolean
boolean
boolean
boolean
useGzip()
boolean
boolean
-
Method Details
-
adapt
public static HttpClientSettings adapt(ClientConfiguration config, boolean useBrowserCompatibleHostNameVerifier) -
adapt
-
useBrowserCompatibleHostNameVerifier
public boolean useBrowserCompatibleHostNameVerifier() -
getMaxConnections
public int getMaxConnections() -
getLocalAddress
-
getProxyHost
-
getProxyPort
public int getProxyPort() -
getProxyUsername
-
getProxyPassword
-
useReaper
public boolean useReaper() -
useGzip
public boolean useGzip() -
getDnsResolver
-
getApacheHttpClientConfig
-
getSocketTimeout
public int getSocketTimeout() -
getSocketBufferSize
public int[] getSocketBufferSize() -
useTcpKeepAlive
public boolean useTcpKeepAlive() -
getSecureRandom
-
getConnectionTimeout
public int getConnectionTimeout() -
getConnectionPoolRequestTimeout
public int getConnectionPoolRequestTimeout() -
getConnectionPoolTTL
public long getConnectionPoolTTL() -
getMaxIdleConnectionTime
public long getMaxIdleConnectionTime() -
getProxyWorkstation
-
getProxyDomain
-
isPreemptiveBasicProxyAuth
public boolean isPreemptiveBasicProxyAuth() -
isUseExpectContinue
public boolean isUseExpectContinue()
-