Top Interfaces Classes
module org.eclipse.jetty.websocket.core.common

Package org.eclipse.jetty.websocket.core.messages


Interface Summary

Modifier and TypeInterface and Description
public interface
MessageSink

A consumer of WebSocket data frames (either BINARY or TEXT).

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractMessageSink

Abstract implementation of MessageSink.

public class
ByteArrayMessageSink

A MessageSink implementation that accumulates BINARY frames into a message that is then delivered to the application function passed to the constructor in the form of a byte[].

public class
ByteBufferMessageSink

A MessageSink implementation that accumulates BINARY frames into a message that is then delivered to the application function passed to the constructor in the form of a ByteBuffer.

public abstract class
DispatchedMessageSink

A partial implementation of MessageSink for methods that consume WebSocket messages using blocking stream APIs, typically via InputStream or Reader.

public class
public class
MessageInputStream

Support class for reading a WebSocket BINARY message via a InputStream.

public class
MessageOutputStream

Support for writing a single WebSocket BINARY message via a OutputStream

public class
MessageReader

Support class for reading a (single) WebSocket TEXT message via a Reader.

public class
MessageWriter

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

public class
PartialByteArrayMessageSink

A MessageSink implementation that delivers BINARY frames to the application function passed to the constructor in the form of a byte[].

public class
PartialByteBufferMessageSink

A MessageSink implementation that delivers BINARY frames to the application function passed to the constructor in the form of a ByteBuffer.

public class
PartialStringMessageSink

A MessageSink implementation that delivers TEXT frames to the application function passed to the constructor in the form of a String.

public class
public class
StringMessageSink

A MessageSink implementation that accumulates TEXT frames into a message that is then delivered to the application function passed to the constructor in the form of a String.