public final class NettyNioAsyncHttpClient extends Object implements SdkAsyncHttpClient
SdkAsyncHttpClient that uses a Netty non-blocking HTTP client to communicate with the service.
This can be created via builder()
| Modifier and Type | Class and Description |
|---|---|
static interface |
NettyNioAsyncHttpClient.Builder
Builder that allows configuration of the Netty NIO HTTP implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static NettyNioAsyncHttpClient.Builder |
builder() |
void |
close() |
<T> Optional<T> |
getConfigurationValue(SdkHttpConfigurationOption<T> key) |
AbortableRunnable |
prepareRequest(SdkHttpRequest sdkRequest,
SdkRequestContext sdkRequestContext,
SdkHttpRequestProvider requestProvider,
SdkHttpResponseHandler handler) |
public static NettyNioAsyncHttpClient.Builder builder()
public AbortableRunnable prepareRequest(SdkHttpRequest sdkRequest, SdkRequestContext sdkRequestContext, SdkHttpRequestProvider requestProvider, SdkHttpResponseHandler handler)
prepareRequest in interface SdkAsyncHttpClientpublic <T> Optional<T> getConfigurationValue(SdkHttpConfigurationOption<T> key)
getConfigurationValue in interface ConfigurationProviderpublic void close()
close in interface AutoCloseableclose in interface SdkAutoCloseableCopyright © 2018. All rights reserved.