public final class RequestDataSupplierAdapter extends Object implements com.amazonaws.s3.RequestDataSupplier
AsyncRequestBody to CRT's RequestDataSupplier.| Constructor and Description |
|---|
RequestDataSupplierAdapter(org.reactivestreams.Publisher<ByteBuffer> bodyPublisher) |
| Modifier and Type | Method and Description |
|---|---|
software.amazon.awssdk.transfer.s3.internal.RequestDataSupplierAdapter.SubscriberImpl |
createSubscriber() |
boolean |
getRequestBytes(ByteBuffer outBuffer) |
void |
onException(software.amazon.awssdk.crt.CrtRuntimeException e) |
void |
onFinished() |
void |
onResponseHeaders(int statusCode,
software.amazon.awssdk.crt.http.HttpHeader[] headers) |
boolean |
resetPosition() |
CompletableFuture<SdkHttpResponse> |
sdkHttpResponseFuture() |
public RequestDataSupplierAdapter(org.reactivestreams.Publisher<ByteBuffer> bodyPublisher)
public CompletableFuture<SdkHttpResponse> sdkHttpResponseFuture()
public void onResponseHeaders(int statusCode,
software.amazon.awssdk.crt.http.HttpHeader[] headers)
onResponseHeaders in interface com.amazonaws.s3.OperationHandlerpublic boolean getRequestBytes(ByteBuffer outBuffer)
getRequestBytes in interface com.amazonaws.s3.RequestDataSupplierpublic boolean resetPosition()
resetPosition in interface com.amazonaws.s3.RequestDataSupplierpublic void onException(software.amazon.awssdk.crt.CrtRuntimeException e)
onException in interface com.amazonaws.s3.OperationHandlerpublic void onFinished()
onFinished in interface com.amazonaws.s3.OperationHandlerpublic software.amazon.awssdk.transfer.s3.internal.RequestDataSupplierAdapter.SubscriberImpl createSubscriber()
Copyright © 2021. All rights reserved.