Package software.amazon.awssdk.http.crt
Class AwsCrtHttpClient
java.lang.Object
software.amazon.awssdk.http.crt.AwsCrtHttpClient
- All Implemented Interfaces:
AutoCloseable,SdkHttpClient,SdkAutoCloseable
An implementation of
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()
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder that allows configuration of the AWS CRT HTTP implementation. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AwsCrtHttpClient.Builderbuilder()voidclose()static SdkHttpClientcreate()Create aAwsCrtHttpClientclient with the default configurationprepareRequest(HttpExecuteRequest request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Field Details
-
readBufferSize
protected final long readBufferSize -
protocol
-
-
Method Details
-
builder
-
create
Create aAwsCrtHttpClientclient with the default configuration- Returns:
- an
SdkHttpClient
-
clientName
- Specified by:
clientNamein interfaceSdkHttpClient
-
prepareRequest
- Specified by:
prepareRequestin interfaceSdkHttpClient
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable
-