Class S3CrtRequestBodyStreamAdapter
java.lang.Object
software.amazon.awssdk.services.s3.internal.crt.S3CrtRequestBodyStreamAdapter
- All Implemented Interfaces:
software.amazon.awssdk.crt.http.HttpRequestBodyStream
@SdkInternalApi
public final class S3CrtRequestBodyStreamAdapter
extends Object
implements software.amazon.awssdk.crt.http.HttpRequestBodyStream
Adapts an SDK
AsyncRequestBody to CRT's HttpRequestBodyStream.-
Constructor Summary
ConstructorsConstructorDescriptionS3CrtRequestBodyStreamAdapter(SdkHttpContentPublisher bodyPublisher, CompletableFuture<Void> executeFuture) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.crt.http.HttpRequestBodyStream
resetPosition
-
Constructor Details
-
S3CrtRequestBodyStreamAdapter
public S3CrtRequestBodyStreamAdapter(SdkHttpContentPublisher bodyPublisher, CompletableFuture<Void> executeFuture)
-
-
Method Details
-
sendRequestBody
- Specified by:
sendRequestBodyin interfacesoftware.amazon.awssdk.crt.http.HttpRequestBodyStream
-
getLength
public long getLength()- Specified by:
getLengthin interfacesoftware.amazon.awssdk.crt.http.HttpRequestBodyStream
-