Class S3CrtRequestBodyStreamAdapter
- java.lang.Object
-
- software.amazon.awssdk.services.s3.internal.crt.S3CrtRequestBodyStreamAdapter
-
- All Implemented Interfaces:
software.amazon.awssdk.crt.http.HttpRequestBodyStream
public final class S3CrtRequestBodyStreamAdapter extends Object implements software.amazon.awssdk.crt.http.HttpRequestBodyStream
Adapts an SDKAsyncRequestBody
to CRT'sHttpRequestBodyStream
.
-
-
Constructor Summary
Constructors Constructor Description S3CrtRequestBodyStreamAdapter(SdkHttpContentPublisher bodyPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLength()
boolean
sendRequestBody(ByteBuffer outBuffer)
-
-
-
Constructor Detail
-
S3CrtRequestBodyStreamAdapter
public S3CrtRequestBodyStreamAdapter(SdkHttpContentPublisher bodyPublisher)
-
-
Method Detail
-
sendRequestBody
public boolean sendRequestBody(ByteBuffer outBuffer)
- Specified by:
sendRequestBody
in interfacesoftware.amazon.awssdk.crt.http.HttpRequestBodyStream
-
getLength
public long getLength()
- Specified by:
getLength
in interfacesoftware.amazon.awssdk.crt.http.HttpRequestBodyStream
-
-