public static interface AwsCrtAsyncHttpClient.Builder extends SdkAsyncHttpClient.Builder<AwsCrtAsyncHttpClient.Builder>
| Modifier and Type | Method and Description |
|---|---|
AwsCrtAsyncHttpClient.Builder |
connectionHealthChecksConfiguration(ConnectionHealthChecksConfiguration healthChecksConfiguration)
Configure the health checks for for all connections established by this client.
|
AwsCrtAsyncHttpClient.Builder |
connectionHealthChecksConfiguration(Consumer<ConnectionHealthChecksConfiguration.Builder> healthChecksConfigurationBuilder)
A convenience method to configure the health checks for for all connections established by this client.
|
AwsCrtAsyncHttpClient.Builder |
connectionMaxIdleTime(Duration connectionMaxIdleTime)
Configure the maximum amount of time that a connection should be allowed to remain open while idle.
|
AwsCrtAsyncHttpClient.Builder |
maxConcurrency(int maxConcurrency)
The Maximum number of allowed concurrent requests.
|
AwsCrtAsyncHttpClient.Builder |
proxyConfiguration(Consumer<ProxyConfiguration.Builder> proxyConfigurationBuilderConsumer)
Sets the http proxy configuration to use for this client.
|
AwsCrtAsyncHttpClient.Builder |
proxyConfiguration(ProxyConfiguration proxyConfiguration)
Sets the http proxy configuration to use for this client.
|
AwsCrtAsyncHttpClient.Builder |
readBufferSize(int readBufferSize)
Configures the number of unread bytes that can be buffered in the
client before we stop reading from the underlying TCP socket and wait for the Subscriber
to read more data.
|
AwsCrtAsyncHttpClient.Builder |
tlsCipherPreference(software.amazon.awssdk.crt.io.TlsCipherPreference tlsCipherPreference)
The AWS CRT TlsCipherPreference to use for this Client
|
build, buildWithDefaultsapplyMutationAwsCrtAsyncHttpClient.Builder maxConcurrency(int maxConcurrency)
maxConcurrency - maximum concurrency per endpointAwsCrtAsyncHttpClient.Builder tlsCipherPreference(software.amazon.awssdk.crt.io.TlsCipherPreference tlsCipherPreference)
tlsCipherPreference - The AWS Common Runtime TlsCipherPreferenceAwsCrtAsyncHttpClient.Builder readBufferSize(int readBufferSize)
readBufferSize - The number of bytes that can be bufferedAwsCrtAsyncHttpClient.Builder proxyConfiguration(ProxyConfiguration proxyConfiguration)
proxyConfiguration - The http proxy configuration to useAwsCrtAsyncHttpClient.Builder proxyConfiguration(Consumer<ProxyConfiguration.Builder> proxyConfigurationBuilderConsumer)
proxyConfigurationBuilderConsumer - The consumer of the proxy configuration builder object.AwsCrtAsyncHttpClient.Builder connectionHealthChecksConfiguration(ConnectionHealthChecksConfiguration healthChecksConfiguration)
eg: you can set a throughput threshold for the a connection to be considered healthy. If the connection falls below this threshold for a configurable amount of time, then the connection is considered unhealthy and will be shut down.
healthChecksConfiguration - The health checks config to useAwsCrtAsyncHttpClient.Builder connectionHealthChecksConfiguration(Consumer<ConnectionHealthChecksConfiguration.Builder> healthChecksConfigurationBuilder)
eg: you can set a throughput threshold for the a connection to be considered healthy. If the connection falls below this threshold for a configurable amount of time, then the connection is considered unhealthy and will be shut down.
healthChecksConfigurationBuilder - The health checks config builder to useconnectionHealthChecksConfiguration(ConnectionHealthChecksConfiguration)AwsCrtAsyncHttpClient.Builder connectionMaxIdleTime(Duration connectionMaxIdleTime)
Copyright © 2020. All rights reserved.