Package | Description |
---|---|
software.amazon.awssdk.http.nio.netty |
Modifier and Type | Method and Description |
---|---|
static NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.builder() |
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.connectionAcquisitionTimeout(Duration connectionAcquisitionTimeout)
The amount of time to wait when acquiring a connection from the pool before giving up and timing out.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.connectionMaxIdleTime(Duration maxIdleConnectionTimeout)
Configure the maximum amount of time that a connection should be allowed to remain open while idle.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.connectionTimeout(Duration timeout)
The amount of time to wait when initially establishing a connection before giving up and timing out.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.connectionTimeToLive(Duration connectionTimeToLive)
The maximum amount of time that a connection should be allowed to remain open, regardless of usage frequency.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.eventLoopGroup(SdkEventLoopGroup eventLoopGroup)
Sets the
SdkEventLoopGroup to use for the Netty HTTP client. |
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.eventLoopGroupBuilder(SdkEventLoopGroup.Builder eventLoopGroupBuilder)
Sets the
SdkEventLoopGroup.Builder which will be used to create the SdkEventLoopGroup for the Netty
HTTP client. |
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.maxConcurrency(Integer maxConcurrency)
Maximum number of allowed concurrent requests.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.maxHttp2Streams(Integer maxHttp2Streams)
Sets the max number of concurrent streams for an HTTP/2 connection.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.maxPendingConnectionAcquires(Integer maxPendingAcquires)
The maximum number of pending acquires allowed.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.protocol(Protocol protocol)
Sets the HTTP protocol to use (i.e.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.putChannelOption(io.netty.channel.ChannelOption channelOption,
Object value)
Configures additional
ChannelOption which will be used to create Netty Http client. |
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.readTimeout(Duration readTimeout)
The amount of time to wait for a read on a socket before an exception is thrown.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.sslProvider(io.netty.handler.ssl.SslProvider sslProvider)
Sets the
SslProvider to be used in the Netty client. |
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.useIdleConnectionReaper(Boolean useConnectionReaper)
Configure whether the idle connections in the connection pool should be closed.
|
NettyNioAsyncHttpClient.Builder |
NettyNioAsyncHttpClient.Builder.writeTimeout(Duration writeTimeout)
The amount of time to wait for a write on a socket before an exception is thrown.
|
Copyright © 2019. All rights reserved.