Package io.undertow.websockets.core
Class BinaryOutputStream
java.lang.Object
java.io.OutputStream
io.undertow.websockets.core.BinaryOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
OutputStream implementation which buffers all the data until close() is called and then will
try to send it in a blocking fashion with the provided StreamSinkFrameChannel.- Author:
- Norman Maurer
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
BinaryOutputStream
-
-
Method Details
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
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
-