Uses of Interface
software.amazon.awssdk.core.async.AsyncRequestBody
-
-
Uses of AsyncRequestBody in software.amazon.awssdk.core.async
Subinterfaces of AsyncRequestBody in software.amazon.awssdk.core.async Modifier and Type Interface Description interfaceCloseableAsyncRequestBodyAn extension ofAsyncRequestBodythat is closable.Classes in software.amazon.awssdk.core.async that implement AsyncRequestBody Modifier and Type Class Description classBlockingInputStreamAsyncRequestBodyAn implementation ofAsyncRequestBodythat allows performing a blocking write of an input stream to a downstream service.classBlockingOutputStreamAsyncRequestBodyAn implementation ofAsyncRequestBodythat allows performing a blocking write of an output stream to a downstream service.classBufferedSplittableAsyncRequestBodyAnAsyncRequestBodydecorator that enables splitting into retryable sub-request bodies.Methods in software.amazon.awssdk.core.async that return AsyncRequestBody Modifier and Type Method Description static AsyncRequestBodyAsyncRequestBody. empty()Creates anAsyncRequestBodywith no content.static AsyncRequestBodyAsyncRequestBody. fromByteBuffer(ByteBuffer byteBuffer)Creates anAsyncRequestBodyfrom aByteBuffer.static AsyncRequestBodyAsyncRequestBody. fromByteBuffers(ByteBuffer... byteBuffers)Creates anAsyncRequestBodyfrom aByteBufferarray.static AsyncRequestBodyAsyncRequestBody. fromByteBuffersUnsafe(ByteBuffer... byteBuffers)Creates anAsyncRequestBodyfrom aByteBufferarray without copying the contents of eachByteBuffer.static AsyncRequestBodyAsyncRequestBody. fromByteBufferUnsafe(ByteBuffer byteBuffer)static AsyncRequestBodyAsyncRequestBody. fromBytes(byte[] bytes)Creates anAsyncRequestBodyfrom a byte array.static AsyncRequestBodyAsyncRequestBody. fromBytesUnsafe(byte[] bytes)Creates anAsyncRequestBodyfrom a byte array without copying the contents of the byte array.static AsyncRequestBodyAsyncRequestBody. fromFile(File file)Creates anAsyncRequestBodythat produces data from the contents of a file.static AsyncRequestBodyAsyncRequestBody. fromFile(Path path)Creates anAsyncRequestBodythat produces data from the contents of a file.static AsyncRequestBodyAsyncRequestBody. fromFile(Consumer<FileRequestBodyConfiguration.Builder> configuration)Creates anAsyncRequestBodythat produces data from the contents of a file.static AsyncRequestBodyAsyncRequestBody. fromFile(FileRequestBodyConfiguration configuration)Creates anAsyncRequestBodythat produces data from the contents of a file.static AsyncRequestBodyAsyncRequestBody. fromInputStream(InputStream inputStream, Long contentLength, ExecutorService executor)Creates anAsyncRequestBodyfrom anInputStream.static AsyncRequestBodyAsyncRequestBody. fromInputStream(Consumer<AsyncRequestBodyFromInputStreamConfiguration.Builder> configuration)This is a convenience method that passes an instance of theAsyncRequestBodyFromInputStreamConfigurationbuilder, avoiding the need to create one manually viaAsyncRequestBodyFromInputStreamConfiguration.builder().static AsyncRequestBodyAsyncRequestBody. fromInputStream(AsyncRequestBodyFromInputStreamConfiguration configuration)Creates anAsyncRequestBodyfrom anInputStreamwith the providedAsyncRequestBodySplitConfiguration.static AsyncRequestBodyAsyncRequestBody. fromPublisher(org.reactivestreams.Publisher<ByteBuffer> publisher)Creates anAsyncRequestBodythe produces data from the input ByteBuffer publisher.static AsyncRequestBodyAsyncRequestBody. fromRemainingByteBuffer(ByteBuffer byteBuffer)Creates anAsyncRequestBodyfrom the remaining readable bytes from aByteBuffer.static AsyncRequestBodyAsyncRequestBody. fromRemainingByteBuffers(ByteBuffer... byteBuffers)Creates anAsyncRequestBodyfrom aByteBufferarray.static AsyncRequestBodyAsyncRequestBody. fromRemainingByteBuffersUnsafe(ByteBuffer... byteBuffers)Creates anAsyncRequestBodyfrom aByteBufferarray without copying the contents of eachByteBuffer.static AsyncRequestBodyAsyncRequestBody. fromRemainingByteBufferUnsafe(ByteBuffer byteBuffer)static AsyncRequestBodyAsyncRequestBody. fromString(String string)Creates anAsyncRequestBodythat uses a single string as data with UTF_8 encoding.static AsyncRequestBodyAsyncRequestBody. fromString(String string, Charset cs)Creates anAsyncRequestBodythat uses a single string as data.Methods in software.amazon.awssdk.core.async that return types with arguments of type AsyncRequestBody Modifier and Type Method Description default SdkPublisher<AsyncRequestBody>AsyncRequestBody. split(Consumer<AsyncRequestBodySplitConfiguration.Builder> splitConfiguration)Deprecated.usesplitCloseable(Consumer)insteaddefault SdkPublisher<AsyncRequestBody>AsyncRequestBody. split(AsyncRequestBodySplitConfiguration splitConfiguration)Deprecated.usesplitCloseable(AsyncRequestBodySplitConfiguration)instead.Methods in software.amazon.awssdk.core.async with parameters of type AsyncRequestBody Modifier and Type Method Description static BufferedSplittableAsyncRequestBodyBufferedSplittableAsyncRequestBody. create(AsyncRequestBody delegate)Creates a newBufferedSplittableAsyncRequestBodythat wraps the providedAsyncRequestBody. -
Uses of AsyncRequestBody in software.amazon.awssdk.core.async.listener
Classes in software.amazon.awssdk.core.async.listener that implement AsyncRequestBody Modifier and Type Class Description static classAsyncRequestBodyListener.NotifyingAsyncRequestBodyMethods in software.amazon.awssdk.core.async.listener that return AsyncRequestBody Modifier and Type Method Description static AsyncRequestBodyAsyncRequestBodyListener. wrap(AsyncRequestBody delegate, AsyncRequestBodyListener listener)Wrap aAsyncRequestBodywith a new one that will notify aAsyncRequestBodyListenerof important events occurring.Methods in software.amazon.awssdk.core.async.listener that return types with arguments of type AsyncRequestBody Modifier and Type Method Description SdkPublisher<AsyncRequestBody>AsyncRequestBodyListener.NotifyingAsyncRequestBody. split(Consumer<AsyncRequestBodySplitConfiguration.Builder> splitConfiguration)SdkPublisher<AsyncRequestBody>AsyncRequestBodyListener.NotifyingAsyncRequestBody. split(AsyncRequestBodySplitConfiguration splitConfiguration)Methods in software.amazon.awssdk.core.async.listener with parameters of type AsyncRequestBody Modifier and Type Method Description static AsyncRequestBodyAsyncRequestBodyListener. wrap(AsyncRequestBody delegate, AsyncRequestBodyListener listener)Wrap aAsyncRequestBodywith a new one that will notify aAsyncRequestBodyListenerof important events occurring. -
Uses of AsyncRequestBody in software.amazon.awssdk.core.client.handler
Methods in software.amazon.awssdk.core.client.handler that return AsyncRequestBody Modifier and Type Method Description AsyncRequestBodyClientExecutionParams. getAsyncRequestBody()Methods in software.amazon.awssdk.core.client.handler with parameters of type AsyncRequestBody Modifier and Type Method Description ClientExecutionParams<InputT,OutputT>ClientExecutionParams. withAsyncRequestBody(AsyncRequestBody asyncRequestBody) -
Uses of AsyncRequestBody in software.amazon.awssdk.core.interceptor
Methods in software.amazon.awssdk.core.interceptor that return types with arguments of type AsyncRequestBody Modifier and Type Method Description Optional<AsyncRequestBody>Context.AfterMarshalling. asyncRequestBody()TheAsyncRequestBodythat allows non-blocking streaming of request content.Optional<AsyncRequestBody>InterceptorContext. asyncRequestBody()default Optional<AsyncRequestBody>ExecutionInterceptor. modifyAsyncHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)Methods in software.amazon.awssdk.core.interceptor with parameters of type AsyncRequestBody Modifier and Type Method Description InterceptorContext.BuilderInterceptorContext.Builder. asyncRequestBody(AsyncRequestBody asyncRequestBody) -
Uses of AsyncRequestBody in software.amazon.awssdk.core.internal.async
Subinterfaces of AsyncRequestBody in software.amazon.awssdk.core.internal.async Modifier and Type Interface Description interfaceSubAsyncRequestBodyRepresent a subAsyncRequestBodythat publishes a portion of the sourceAsyncRequestBodyClasses in software.amazon.awssdk.core.internal.async that implement AsyncRequestBody Modifier and Type Class Description classByteBuffersAsyncRequestBodyAn implementation ofAsyncRequestBodyfor providing data from the suppliedByteBufferarray.classChecksumCalculatingAsyncRequestBodyWrapper class to wrap an AsyncRequestBody.classCompressionAsyncRequestBodyWrapper class to wrap an AsyncRequestBody.classFileAsyncRequestBodyImplementation ofAsyncRequestBodythat reads data from a file.classInputStreamWithExecutorAsyncRequestBodyAAsyncRequestBodythat allows reading data off of anInputStreamusing a backgroundExecutorService.classNonRetryableSubAsyncRequestBodyASubAsyncRequestBodyimplementation that doesn't support resubscribe/retryclassRetryableSubAsyncRequestBodyASubAsyncRequestBodyimplementation that supports resubscribe/retry once all data has been published to the first subscriberMethods in software.amazon.awssdk.core.internal.async that return types with arguments of type AsyncRequestBody Modifier and Type Method Description SdkPublisher<AsyncRequestBody>FileAsyncRequestBody. split(AsyncRequestBodySplitConfiguration splitConfiguration)SdkPublisher<AsyncRequestBody>FileAsyncRequestBodySplitHelper. split()Methods in software.amazon.awssdk.core.internal.async with parameters of type AsyncRequestBody Modifier and Type Method Description ChecksumCalculatingAsyncRequestBody.BuilderChecksumCalculatingAsyncRequestBody.Builder. asyncRequestBody(AsyncRequestBody asyncRequestBody)Sets the AsyncRequestBody that will be wrapped.CompressionAsyncRequestBody.BuilderCompressionAsyncRequestBody.Builder. asyncRequestBody(AsyncRequestBody asyncRequestBody)Sets the AsyncRequestBody that will be wrapped.SplittingPublisher.BuilderSplittingPublisher.Builder. asyncRequestBody(AsyncRequestBody asyncRequestBody)Sets the AsyncRequestBody to be split. -
Uses of AsyncRequestBody in software.amazon.awssdk.core.internal.http
Methods in software.amazon.awssdk.core.internal.http that return AsyncRequestBody Modifier and Type Method Description AsyncRequestBodyRequestExecutionContext. requestProvider()Methods in software.amazon.awssdk.core.internal.http with parameters of type AsyncRequestBody Modifier and Type Method Description AmazonAsyncHttpClient.RequestExecutionBuilderAmazonAsyncHttpClient.RequestExecutionBuilder. requestProvider(AsyncRequestBody requestProvider)Fluent setter forAsyncRequestBodyRequestExecutionContext.BuilderRequestExecutionContext.Builder. requestProvider(AsyncRequestBody requestProvider)voidRequestExecutionContext. requestProvider(AsyncRequestBody publisher)Sets the request body provider. -
Uses of AsyncRequestBody in software.amazon.awssdk.core.runtime.transform
Methods in software.amazon.awssdk.core.runtime.transform with parameters of type AsyncRequestBody Modifier and Type Method Description AsyncStreamingRequestMarshaller.BuilderAsyncStreamingRequestMarshaller.Builder. asyncRequestBody(AsyncRequestBody asyncRequestBody) -
Uses of AsyncRequestBody in software.amazon.awssdk.core.signer
Methods in software.amazon.awssdk.core.signer that return AsyncRequestBody Modifier and Type Method Description AsyncRequestBodyAsyncRequestBodySigner. signAsyncRequestBody(SdkHttpFullRequest request, AsyncRequestBody asyncRequestBody, ExecutionAttributes executionAttributes)Deprecated.Method that takes in an signed request and async request body provider, and returns a transformed version the request body provider.Methods in software.amazon.awssdk.core.signer with parameters of type AsyncRequestBody Modifier and Type Method Description CompletableFuture<SdkHttpFullRequest>AsyncSigner. sign(SdkHttpFullRequest request, AsyncRequestBody requestBody, ExecutionAttributes executionAttributes)Deprecated.Sign the request, including the contents of the body into the signature calculation.AsyncRequestBodyAsyncRequestBodySigner. signAsyncRequestBody(SdkHttpFullRequest request, AsyncRequestBody asyncRequestBody, ExecutionAttributes executionAttributes)Deprecated.Method that takes in an signed request and async request body provider, and returns a transformed version the request body provider.
-