Class MessageWriter
java.lang.Object
java.io.Writer
org.eclipse.jetty.websocket.core.messages.MessageWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
Support for writing a single WebSocket TEXT message via a
Writer
Note: Per WebSocket spec, all WebSocket TEXT messages must be encoded in UTF-8
-
Constructor Details
-
MessageWriter
-
-
Method Details
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
setCallback
-