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 | Field and Description |
|---|---|
protected long |
readBufferSize |
| Modifier and Type | Method and Description |
|---|---|
static AwsCrtAsyncHttpClient.Builder |
builder() |
String |
clientName()
Each HTTP client implementation should return a well-formed client name
that allows requests to be identifiable back to the client that made the request.
|
void |
close() |
static SdkAsyncHttpClient |
create()
Create a
AwsCrtAsyncHttpClient client with the default configuration |
CompletableFuture<Void> |
execute(AsyncExecuteRequest asyncRequest)
Execute the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic static AwsCrtAsyncHttpClient.Builder builder()
public static SdkAsyncHttpClient create()
AwsCrtAsyncHttpClient client with the default configurationSdkAsyncHttpClientpublic String clientName()
SdkAsyncHttpClientclientName in interface SdkAsyncHttpClientpublic CompletableFuture<Void> execute(AsyncExecuteRequest asyncRequest)
SdkAsyncHttpClientexecute in interface SdkAsyncHttpClientasyncRequest - The request object.null, otherwise it is completed exceptionally.public void close()
SdkAutoCloseableclose in interface SdkAutoCloseableclose in interface AutoCloseableCopyright © 2026. All rights reserved.