Class ContentSinkOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.jetty.io.content.ContentSinkOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
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.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
nullOutputStream, write
-
Constructor Details
-
ContentSinkOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
close
- Throws:
IOException
-