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 configurationSdkAsyncHttpClient
public String clientName()
clientName
in interface SdkAsyncHttpClient
public CompletableFuture<Void> execute(AsyncExecuteRequest asyncRequest)
execute
in interface SdkAsyncHttpClient
public void close()
close
in interface AutoCloseable
close
in interface SdkAutoCloseable
Copyright © 2022. All rights reserved.