Package software.amazon.awssdk.http.crt
Class AwsCrtAsyncHttpClient
java.lang.Object
software.amazon.awssdk.http.crt.AwsCrtAsyncHttpClient
- All Implemented Interfaces:
AutoCloseable,SdkAsyncHttpClient,SdkAutoCloseable
An implementation of
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()
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder that allows configuration of the AWS CRT HTTP implementation. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()voidclose()static SdkAsyncHttpClientcreate()Create aAwsCrtAsyncHttpClientclient with the default configurationexecute(AsyncExecuteRequest asyncRequest) 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 aAwsCrtAsyncHttpClientclient with the default configuration- Returns:
- an
SdkAsyncHttpClient
-
clientName
- Specified by:
clientNamein interfaceSdkAsyncHttpClient
-
execute
- Specified by:
executein interfaceSdkAsyncHttpClient
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable
-