public final class AwsCrtHttpClient extends Object implements SdkHttpClient
SdkHttpClient that uses the AWS Common Runtime (CRT) Http Client to communicate with
Http Web Services. This client has a synchronous interface, but uses non-blocking IO.
This can be created via builder()
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsCrtHttpClient.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 AwsCrtHttpClient.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 SdkHttpClient |
create()
Create a
AwsCrtHttpClient client with the default configuration |
ExecutableHttpRequest |
prepareRequest(HttpExecuteRequest request)
Create a
ExecutableHttpRequest that can be used to execute the HTTP request. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic static AwsCrtHttpClient.Builder builder()
public static SdkHttpClient create()
AwsCrtHttpClient client with the default configurationSdkHttpClientpublic String clientName()
SdkHttpClientclientName in interface SdkHttpClientpublic ExecutableHttpRequest prepareRequest(HttpExecuteRequest request)
SdkHttpClientExecutableHttpRequest that can be used to execute the HTTP request.prepareRequest in interface SdkHttpClientrequest - Representation of an HTTP request.public void close()
SdkAutoCloseableclose in interface SdkAutoCloseableclose in interface AutoCloseableCopyright © 2026. All rights reserved.