public class HttpClientSettings extends Object
ClientConfiguration
and other internal settings to the
underlying http client.Modifier and Type | Method and Description |
---|---|
static HttpClientSettings |
adapt(ClientConfiguration config) |
static HttpClientSettings |
adapt(ClientConfiguration config,
boolean useBrowserCompatibleHostNameVerifier) |
ApacheHttpClientConfig |
getApacheHttpClientConfig() |
int |
getConnectionPoolRequestTimeout() |
long |
getConnectionPoolTTL() |
int |
getConnectionTimeout() |
DnsResolver |
getDnsResolver() |
InetAddress |
getLocalAddress() |
int |
getMaxConnections() |
long |
getMaxIdleConnectionTime() |
String |
getNonProxyHosts() |
String |
getProxyDomain() |
String |
getProxyHost() |
String |
getProxyPassword() |
int |
getProxyPort() |
String |
getProxyUsername() |
String |
getProxyWorkstation() |
SecureRandom |
getSecureRandom() |
int[] |
getSocketBufferSize() |
int |
getSocketTimeout() |
boolean |
isPreemptiveBasicProxyAuth() |
boolean |
isUseExpectContinue() |
boolean |
useBrowserCompatibleHostNameVerifier() |
boolean |
useGzip() |
boolean |
useReaper() |
boolean |
useTcpKeepAlive() |
public static HttpClientSettings adapt(ClientConfiguration config, boolean useBrowserCompatibleHostNameVerifier)
public static HttpClientSettings adapt(ClientConfiguration config)
public boolean useBrowserCompatibleHostNameVerifier()
public int getMaxConnections()
public InetAddress getLocalAddress()
public String getProxyHost()
public int getProxyPort()
public String getProxyUsername()
public String getProxyPassword()
public String getNonProxyHosts()
public boolean useReaper()
public boolean useGzip()
public DnsResolver getDnsResolver()
public ApacheHttpClientConfig getApacheHttpClientConfig()
public int getSocketTimeout()
public int[] getSocketBufferSize()
public boolean useTcpKeepAlive()
public SecureRandom getSecureRandom()
public int getConnectionTimeout()
public int getConnectionPoolRequestTimeout()
public long getConnectionPoolTTL()
public long getMaxIdleConnectionTime()
public String getProxyWorkstation()
public String getProxyDomain()
public boolean isPreemptiveBasicProxyAuth()
public boolean isUseExpectContinue()
Copyright © 2016. All rights reserved.