public final class AwsCrtAsyncHttpClient extends Object implements SdkAsyncHttpClient
SdkAsyncHttpClient that uses the AWS Common Runtime (CRT) Http Client to communicate with
Http Web Services. This client is asynchronous and uses non-blocking IO.
This can be created via builder()
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsCrtAsyncHttpClient.Builder
Builder that allows configuration of the AWS CRT HTTP implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static AwsCrtAsyncHttpClient.Builder |
builder() |
String |
clientName() |
void |
close() |
static SdkAsyncHttpClient |
create()
Create a
AwsCrtAsyncHttpClient client with the default configuration |
CompletableFuture<Void> |
execute(AsyncExecuteRequest asyncRequest) |
public static AwsCrtAsyncHttpClient.Builder builder()
public static SdkAsyncHttpClient create()
AwsCrtAsyncHttpClient client with the default configurationSdkAsyncHttpClientpublic String clientName()
clientName in interface SdkAsyncHttpClientpublic CompletableFuture<Void> execute(AsyncExecuteRequest asyncRequest)
execute in interface SdkAsyncHttpClientpublic void close()
close in interface AutoCloseableclose in interface SdkAutoCloseableCopyright © 2023. All rights reserved.