java.lang.Object
java.io.Reader
org.eclipse.jetty.websocket.core.internal.messages.MessageReader
All Implemented Interfaces:
Closeable, AutoCloseable, Readable, MessageSink

public class MessageReader extends Reader implements MessageSink
Support class for reading a (single) WebSocket TEXT message via a Reader.

In compliance to the WebSocket spec, this reader always uses the StandardCharsets.UTF_8.

  • Constructor Details

    • MessageReader

      public MessageReader()
    • MessageReader

      public MessageReader(int bufferSize)
  • Method Details