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 | 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> |
Context.AfterMarshalling.asyncRequestBody()
The
AsyncRequestBody that allows non-blocking streaming of request content. |
Optional<AsyncRequestBody> |
InterceptorContext.asyncRequestBody() |
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 |
FileAsyncRequestBody
Implementation of
AsyncRequestBody that reads data from a file. |
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 |
---|---|
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 |
---|---|
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 © 2019. All rights reserved.