Class BlockingOutputStreamAsyncRequestBody

java.lang.Object
software.amazon.awssdk.core.async.BlockingOutputStreamAsyncRequestBody
All Implemented Interfaces:
org.reactivestreams.Publisher<ByteBuffer>, AsyncRequestBody, SdkPublisher<ByteBuffer>

public final class BlockingOutputStreamAsyncRequestBody extends Object implements AsyncRequestBody
An implementation of AsyncRequestBody that allows performing a blocking write of an output stream to a downstream service.

The caller is responsible for calling OutputStream.close() on the outputStream() when writing is complete.

See Also: