Package org.eclipse.jetty.websocket.core.messages
package org.eclipse.jetty.websocket.core.messages
-
ClassDescriptionAbstract implementation of
MessageSink
.AMessageSink
implementation that accumulates BINARY frames into a message that is then delivered to the application function passed to the constructor in the form of abyte[]
.AMessageSink
implementation that accumulates BINARY frames into a message that is then delivered to the application function passed to the constructor in the form of aByteBuffer
.A partial implementation ofMessageSink
for methods that consume WebSocket messages using blocking stream APIs, typically viaInputStream
orReader
.Support class for reading a WebSocket BINARY message via a InputStream.Support for writing a single WebSocket BINARY message via aOutputStream
Support class for reading a (single) WebSocket TEXT message via a Reader.A consumer of WebSocket data frames (either BINARY or TEXT).Support for writing a single WebSocket TEXT message via aWriter
AMessageSink
implementation that delivers BINARY frames to the application function passed to the constructor in the form of abyte[]
.AMessageSink
implementation that delivers BINARY frames to the application function passed to the constructor in the form of aByteBuffer
.AMessageSink
implementation that delivers TEXT frames to the application function passed to the constructor in the form of aString
.AMessageSink
implementation that accumulates TEXT frames into a message that is then delivered to the application function passed to the constructor in the form of aString
.