public class HTTPClientConfiguration
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HTTPClientConfiguration.Builder
Builder class for building
HTTPClientConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static HTTPClientConfiguration |
from(OpenKitConfiguration openKitConfig)
Creates a new
HTTPClientConfiguration instance and initializes it from the given
OpenKitConfiguration. |
java.lang.String |
getApplicationID()
The application id for the http client
|
java.lang.String |
getBaseURL()
Returns the base url for the http client
|
int |
getServerID()
Returns the server id to be used for the http client
|
SSLTrustManager |
getSSLTrustManager()
Returns an interface used for X509 certificate authentication and hostname verification.
|
static HTTPClientConfiguration.Builder |
modifyWith(HTTPClientConfiguration httpClientConfig)
Creates a new builder instance and initializes it from the given
HTTPClientConfiguration |
static HTTPClientConfiguration.Builder |
modifyWith(OpenKitConfiguration openKitConfig)
Creates a new builder instance and initializes it from the given
OpenKitConfiguration |
public static HTTPClientConfiguration from(OpenKitConfiguration openKitConfig)
HTTPClientConfiguration instance and initializes it from the given
OpenKitConfiguration.openKitConfig - the openKit configuration from which the instance will be initialized.HTTPClientConfiguration instance initialized from the given configuration.public static HTTPClientConfiguration.Builder modifyWith(OpenKitConfiguration openKitConfig)
OpenKitConfigurationopenKitConfig - the OpenKitConfiguration from which the builder will be initialized.HTTPClientConfigurationpublic static HTTPClientConfiguration.Builder modifyWith(HTTPClientConfiguration httpClientConfig)
HTTPClientConfigurationhttpClientConfig - the HTTPClientConfiguration from which the builder will be initialized.HTTPClientConfigurationpublic java.lang.String getBaseURL()
public int getServerID()
public java.lang.String getApplicationID()
public SSLTrustManager getSSLTrustManager()