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() |
CompletableFuture<Void> |
execute(AsyncExecuteRequest request)
Execute the request.
|
public CompletableFuture<Void> execute(AsyncExecuteRequest request)
SdkAsyncHttpClientexecute in interface SdkAsyncHttpClientrequest - The request object.null, otherwise it is completed exceptionally.public static NettyNioAsyncHttpClient.Builder builder()
public void close()
SdkAutoCloseableclose in interface AutoCloseableclose in interface SdkAutoCloseableCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.