Class OutputStreamPublisher

java.lang.Object
java.io.OutputStream
software.amazon.awssdk.utils.CancellableOutputStream
software.amazon.awssdk.utils.async.OutputStreamPublisher
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, org.reactivestreams.Publisher<ByteBuffer>

public final class OutputStreamPublisher extends CancellableOutputStream implements org.reactivestreams.Publisher<ByteBuffer>
Adapts a Publisher to an OutputStream.

Writes to the stream will block until demand is available in the downstream subscriber.