Class MessageOutputStream
java.lang.Object
java.io.OutputStream
org.eclipse.jetty.websocket.core.messages.MessageOutputStream
- All Implemented Interfaces:
 Closeable, Flushable, AutoCloseable
Support for writing a single WebSocket BINARY message via a 
OutputStream- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()voidsetCallback(Callback callback) voidwrite(byte[] bytes, int off, int len) voidwrite(int b) voidwrite(ByteBuffer buffer) Methods inherited from class OutputStream
nullOutputStream, write 
- 
Constructor Details
- 
MessageOutputStream
 
 - 
 - 
Method Details
- 
write
- Overrides:
 writein classOutputStream- Throws:
 IOException
 - 
write
- Specified by:
 writein classOutputStream- Throws:
 IOException
 - 
write
- 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
 - 
setCallback
 
 -