Class ContentSinkOutputStream

java.lang.Object
java.io.OutputStream
org.eclipse.jetty.io.content.ContentSinkOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ContentSinkOutputStream extends OutputStream

An OutputStream backed by a Content.Sink. Any content written to this OutputStream is written to the Content.Sink.write(boolean, ByteBuffer, Callback) with a callback that blocks the caller until it is succeeded or failed.