public interface HttpConfiguration
Use HttpConfigurationBuilder
to construct an instance.
Modifier and Type | Method and Description |
---|---|
int |
getConnectTimeoutMillis()
The connection timeout.
|
java.net.Proxy |
getProxy()
The proxy configuration, if any.
|
HttpAuthentication |
getProxyAuthentication()
The authentication method to use for a proxy, if any.
|
int |
getSocketTimeoutMillis()
The socket timeout.
|
javax.net.ssl.SSLSocketFactory |
getSslSocketFactory()
The configured socket factory for secure connections.
|
javax.net.ssl.X509TrustManager |
getTrustManager()
The configured trust manager for secure connections, if custom certificate verification is needed.
|
java.lang.String |
getWrapperIdentifier()
An optional identifier used by wrapper libraries to indicate what wrapper is being used.
|
int getConnectTimeoutMillis()
java.net.Proxy getProxy()
Proxy
instance or nullHttpAuthentication getProxyAuthentication()
getProxy()
is null.HttpAuthentication
implementation or nullint getSocketTimeoutMillis()
Components.streamingDataSource()
, which has its own
non-configurable read timeout based on the expected behavior of the LaunchDarkly streaming service.javax.net.ssl.SSLSocketFactory getSslSocketFactory()
javax.net.ssl.X509TrustManager getTrustManager()
java.lang.String getWrapperIdentifier()
HttpConfiguration
because it is included in HTTP headers.