CopyableBuilder<ApacheSdkHttpClientFactory.Builder,ApacheSdkHttpClientFactory>
, SdkBuilder<ApacheSdkHttpClientFactory.Builder,ApacheSdkHttpClientFactory>
public static interface ApacheSdkHttpClientFactory.Builder extends CopyableBuilder<ApacheSdkHttpClientFactory.Builder,ApacheSdkHttpClientFactory>
ApacheSdkHttpClientFactory
.Modifier and Type | Method | Description |
---|---|---|
ApacheSdkHttpClientFactory.Builder |
connectionMaxIdleTime(Duration connectionMaxIdleTime) |
Configure the maximum amount of time that a connection should be allowed to remain open while idle.
|
ApacheSdkHttpClientFactory.Builder |
connectionTimeout(Duration connectionTimeout) |
The amount of time to wait when initially establishing a connection before giving up and timing out.
|
ApacheSdkHttpClientFactory.Builder |
connectionTimeToLive(Duration connectionTimeToLive) |
The maximum amount of time that a connection should be allowed to remain open, regardless of usage frequency.
|
ApacheSdkHttpClientFactory.Builder |
expectContinueEnabled(Boolean expectContinueEnabled) |
Configure whether the client should send an HTTP expect-continue handshake before each request.
|
ApacheSdkHttpClientFactory.Builder |
localAddress(InetAddress localAddress) |
Configure the local address that the HTTP client should use for communication.
|
ApacheSdkHttpClientFactory.Builder |
maxConnections(Integer maxConnections) |
The maximum number of connections allowed in the connection pool.
|
ApacheSdkHttpClientFactory.Builder |
proxyConfiguration(ProxyConfiguration proxyConfiguration) |
Configuration that defines how to communicate via an HTTP proxy.
|
ApacheSdkHttpClientFactory.Builder |
socketTimeout(Duration socketTimeout) |
The amount of time to wait for data to be transferred over an established, open connection before the connection is
timed out.
|
copy
apply, build
ApacheSdkHttpClientFactory.Builder socketTimeout(Duration socketTimeout)
ApacheSdkHttpClientFactory.Builder connectionTimeout(Duration connectionTimeout)
ApacheSdkHttpClientFactory.Builder maxConnections(Integer maxConnections)
ApacheSdkHttpClientFactory.Builder proxyConfiguration(ProxyConfiguration proxyConfiguration)
ApacheSdkHttpClientFactory.Builder localAddress(InetAddress localAddress)
ApacheSdkHttpClientFactory.Builder expectContinueEnabled(Boolean expectContinueEnabled)
ApacheSdkHttpClientFactory.Builder connectionTimeToLive(Duration connectionTimeToLive)
ApacheSdkHttpClientFactory.Builder connectionMaxIdleTime(Duration connectionMaxIdleTime)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.