程序包 | 说明 |
---|---|
com.sinacloud.scs | |
com.sinacloud.scs.http | |
com.sinacloud.scs.services.scs |
限定符和类型 | 字段和说明 |
---|---|
protected ClientConfiguration |
SCSWebServiceClient.clientConfiguration
The client configuration
|
限定符和类型 | 方法和说明 |
---|---|
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 NTLM 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.withReaper(boolean use)
Sets whether the
IdleConnectionReaper is to be started as a daemon thread |
ClientConfiguration |
ClientConfiguration.withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy upon failed requests, and returns the updated
ClientConfiguration object.
|
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
SCSWebServiceClient.setConfiguration(ClientConfiguration clientConfiguration) |
构造器和说明 |
---|
ClientConfiguration(ClientConfiguration other) |
SCSWebServiceClient(ClientConfiguration clientConfiguration)
Constructs a new SCSWebServiceClient object using the specified
configuration and request metric collector.
|
构造器和说明 |
---|
HttpConnect(ClientConfiguration config) |
构造器和说明 |
---|
SCSClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new Amazon S3 client using the specified AWS credentials and
client configuration to access Amazon S3.
|
SCSClient(AWSCredentialsProvider credentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new Amazon S3 client using the specified AWS credentials and
client configuration to access Amazon S3.
|
SCSClient(ClientConfiguration clientConfiguration)
Constructs a new client using the specified client configuration to
access Amazon S3.
|
Copyright © 2016. All rights reserved.