Package | Description |
---|---|
com.netease.cloud | |
com.netease.cloud.http | |
com.netease.cloud.services.nos |
Modifier and Type | Field and Description |
---|---|
protected ClientConfiguration |
WebServiceClient.clientConfiguration
The client configuration
|
Modifier and Type | Method and Description |
---|---|
ClientConfiguration |
ClientConfiguration.withConnectionTimeout(int connectionTimeout)
Sets the amount of time to wait (in milliseconds) when initially
establishing a connection before giving up and timing out, and returns
the updated ClientConfiguration object so that additional method calls
may be chained together.
|
ClientConfiguration |
ClientConfiguration.withMaxConnections(int maxConnections)
Sets the maximum number of allowed open HTTP connections and returns the
updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withMaxErrorRetry(int maxErrorRetry)
Sets the maximum number of retry attempts for failed retryable requests
(ex: 5xx error responses from services), and returns the updated
ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProtocol(Protocol protocol)
Sets the protocol (i.e.
|
ClientConfiguration |
ClientConfiguration.withProxyDomain(String proxyDomain)
Sets the optional Windows domain name for configuration an NTML proxy and
returns a reference to this updated ClientConfiguration object so that
additional method calls can be chained together.
|
ClientConfiguration |
ClientConfiguration.withProxyHost(String proxyHost)
Sets the optional proxy host the client will connect through and returns
the updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProxyPassword(String proxyPassword)
Sets the optional proxy password to use when connecting through a proxy,
and returns the updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProxyPort(int proxyPort)
Sets the optional proxy port the client will connect through and returns
the updated ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProxyUsername(String proxyUsername)
Sets the optional proxy user name and returns the updated
ClientConfiguration object.
|
ClientConfiguration |
ClientConfiguration.withProxyWorkstation(String proxyWorkstation)
Sets the optional Windows workstation name for configuring NTLM proxy
support, and returns the updated ClientConfiguration object so that
additional method calls can be chained together.
|
ClientConfiguration |
ClientConfiguration.withSocketBufferSizeHints(int socketSendBufferSizeHint,
int socketReceiveBufferSizeHint)
Sets the optional size hints (in bytes) for the low level TCP send and
receive buffers, and returns the updated ClientConfiguration object so
that additional method calls may be chained together.
|
ClientConfiguration |
ClientConfiguration.withSocketTimeout(int socketTimeout)
Sets the amount of time to wait (in milliseconds) for data to be
transfered over an established, open connection before the connection
times out and is closed, and returns the updated ClientConfiguration
object so that additional method calls may be chained together.
|
ClientConfiguration |
ClientConfiguration.withUserAgent(String userAgent)
Sets the HTTP user agent header used in requests and returns the updated
ClientConfiguration object.
|
Modifier and Type | Method and Description |
---|---|
void |
WebServiceClient.setConfiguration(ClientConfiguration clientConfiguration) |
Constructor and Description |
---|
ClientConfiguration(ClientConfiguration other) |
WebServiceClient(ClientConfiguration clientConfiguration)
Constructs a new WebServiceClient object using the specified
configuration.
|
Constructor and Description |
---|
NeteaseHttpClient(ClientConfiguration clientConfiguration)
Constructs a new client using the specified client configuration options
(ex: max retry attempts, proxy settings, etc).
|
Constructor and Description |
---|
NosClient(Credentials Credentials,
ClientConfiguration clientConfiguration)
Constructs a new NOS client using the specified credentials and client configuration to access NOS.
|
NosClient(CredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new NOS client using the specified credentials and client configuration to access NOS.
|
Copyright © 2017. All Rights Reserved.