Modifier and Type | Method and Description |
---|---|
static AsyncRequestBody |
AsyncRequestBody.empty()
Creates a
AsyncRequestBody with no content. |
static AsyncRequestBody |
AsyncRequestBody.fromByteBuffer(ByteBuffer byteBuffer)
Creates a
AsyncRequestBody from a ByteBuffer . |
static AsyncRequestBody |
AsyncRequestBody.fromBytes(byte[] bytes)
Creates a
AsyncRequestBody from a byte array. |
static AsyncRequestBody |
AsyncRequestBody.fromFile(File file)
Creates an
AsyncRequestBody that produces data from the contents of a file. |
static AsyncRequestBody |
AsyncRequestBody.fromFile(Path path)
Creates an
AsyncRequestBody that produces data from the contents of a file. |
static AsyncRequestBody |
AsyncRequestBody.fromPublisher(org.reactivestreams.Publisher<ByteBuffer> publisher)
Creates an
AsyncRequestBody the produces data from the input ByteBuffer publisher. |
static AsyncRequestBody |
AsyncRequestBody.fromString(String string)
Creates an
AsyncRequestBody that uses a single string as data with UTF_8 encoding. |
static AsyncRequestBody |
AsyncRequestBody.fromString(String string,
Charset cs)
Creates an
AsyncRequestBody that uses a single string as data. |
Modifier and Type | Class and Description |
---|---|
static class |
AsyncRequestBodyListener.NotifyingAsyncRequestBody |
Modifier and Type | Method and Description |
---|---|
static AsyncRequestBody |
AsyncRequestBodyListener.wrap(AsyncRequestBody delegate,
AsyncRequestBodyListener listener)
Wrap a
AsyncRequestBody with a new one that will notify a AsyncRequestBodyListener of important events
occurring. |
Modifier and Type | Method and Description |
---|---|
static AsyncRequestBody |
AsyncRequestBodyListener.wrap(AsyncRequestBody delegate,
AsyncRequestBodyListener listener)
Wrap a
AsyncRequestBody with a new one that will notify a AsyncRequestBodyListener of important events
occurring. |
Modifier and Type | Method and Description |
---|---|
AsyncRequestBody |
ClientExecutionParams.getAsyncRequestBody() |
Modifier and Type | Method and Description |
---|---|
ClientExecutionParams<InputT,OutputT> |
ClientExecutionParams.withAsyncRequestBody(AsyncRequestBody asyncRequestBody) |
Modifier and Type | Method and Description |
---|---|
Optional<AsyncRequestBody> |
InterceptorContext.asyncRequestBody() |
Optional<AsyncRequestBody> |
Context.AfterMarshalling.asyncRequestBody()
The
AsyncRequestBody that allows non-blocking streaming of request content. |
default Optional<AsyncRequestBody> |
ExecutionInterceptor.modifyAsyncHttpContent(Context.ModifyHttpRequest context,
ExecutionAttributes executionAttributes) |
Modifier and Type | Method and Description |
---|---|
InterceptorContext.Builder |
InterceptorContext.Builder.asyncRequestBody(AsyncRequestBody asyncRequestBody) |
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayAsyncRequestBody
An implementation of
AsyncRequestBody for providing data from memory. |
class |
ChecksumCalculatingAsyncRequestBody
Wrapper class to wrap an AsyncRequestBody.
|
class |
FileAsyncRequestBody
Implementation of
AsyncRequestBody that reads data from a file. |
Modifier and Type | Method and Description |
---|---|
ChecksumCalculatingAsyncRequestBody.Builder |
ChecksumCalculatingAsyncRequestBody.Builder.asyncRequestBody(AsyncRequestBody asyncRequestBody)
Sets the AsyncRequestBody that will be wrapped.
|
Modifier and Type | Method and Description |
---|---|
AsyncRequestBody |
RequestExecutionContext.requestProvider() |
Modifier and Type | Method and Description |
---|---|
void |
RequestExecutionContext.requestProvider(AsyncRequestBody publisher)
Sets the request body provider.
|
RequestExecutionContext.Builder |
RequestExecutionContext.Builder.requestProvider(AsyncRequestBody requestProvider) |
AmazonAsyncHttpClient.RequestExecutionBuilder |
AmazonAsyncHttpClient.RequestExecutionBuilder.requestProvider(AsyncRequestBody requestProvider)
Fluent setter for
AsyncRequestBody |
Modifier and Type | Method and Description |
---|---|
Optional<AsyncRequestBody> |
AsyncRequestBodyHttpChecksumTrailerInterceptor.modifyAsyncHttpContent(Context.ModifyHttpRequest context,
ExecutionAttributes executionAttributes) |
Modifier and Type | Method and Description |
---|---|
AsyncStreamingRequestMarshaller.Builder |
AsyncStreamingRequestMarshaller.Builder.asyncRequestBody(AsyncRequestBody asyncRequestBody) |
Modifier and Type | Method and Description |
---|---|
AsyncRequestBody |
AsyncRequestBodySigner.signAsyncRequestBody(SdkHttpFullRequest request,
AsyncRequestBody asyncRequestBody,
ExecutionAttributes executionAttributes)
Method that takes in an signed request and async request body provider,
and returns a transformed version the request body provider.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<SdkHttpFullRequest> |
AsyncSigner.sign(SdkHttpFullRequest request,
AsyncRequestBody requestBody,
ExecutionAttributes executionAttributes)
Sign the request, including the contents of the body into the signature calculation.
|
AsyncRequestBody |
AsyncRequestBodySigner.signAsyncRequestBody(SdkHttpFullRequest request,
AsyncRequestBody asyncRequestBody,
ExecutionAttributes executionAttributes)
Method that takes in an signed request and async request body provider,
and returns a transformed version the request body provider.
|
Copyright © 2022. All rights reserved.