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() |
String |
clientName() |
void |
close() |
static SdkAsyncHttpClient |
create()
Create a
NettyNioAsyncHttpClient with the default properties |
CompletableFuture<Void> |
execute(AsyncExecuteRequest request) |
public CompletableFuture<Void> execute(AsyncExecuteRequest request)
execute
in interface SdkAsyncHttpClient
public static NettyNioAsyncHttpClient.Builder builder()
public static SdkAsyncHttpClient create()
NettyNioAsyncHttpClient
with the default propertiesNettyNioAsyncHttpClient
public void close()
close
in interface AutoCloseable
close
in interface SdkAutoCloseable
public String clientName()
clientName
in interface SdkAsyncHttpClient
Copyright © 2023. All rights reserved.