public static interface ApacheSdkHttpClientFactory.Builder extends CopyableBuilder<ApacheSdkHttpClientFactory.Builder,ApacheSdkHttpClientFactory>
ApacheSdkHttpClientFactory.| Modifier and Type | Method and 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.
|
default ApacheSdkHttpClientFactory.Builder |
proxyConfiguration(Consumer<ProxyConfiguration.Builder> proxyConfiguration)
Similar to
proxyConfiguration(ProxyConfiguration), but takes a lambda to configure a new
ProxyConfiguration.Builder. |
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.
|
copyapply, buildApacheSdkHttpClientFactory.Builder socketTimeout(Duration socketTimeout)
ApacheSdkHttpClientFactory.Builder connectionTimeout(Duration connectionTimeout)
ApacheSdkHttpClientFactory.Builder maxConnections(Integer maxConnections)
ApacheSdkHttpClientFactory.Builder proxyConfiguration(ProxyConfiguration proxyConfiguration)
default ApacheSdkHttpClientFactory.Builder proxyConfiguration(Consumer<ProxyConfiguration.Builder> proxyConfiguration)
proxyConfiguration(ProxyConfiguration), but takes a lambda to configure a new
ProxyConfiguration.Builder. This removes the need to called ProxyConfiguration.builder() and
SdkBuilder.build().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.