java.lang.Object
org.eclipse.jetty.websocket.jakarta.common.decoders.ReaderDecoder
All Implemented Interfaces:
jakarta.websocket.Decoder, jakarta.websocket.Decoder.TextStream<Reader>

public class ReaderDecoder extends Object implements jakarta.websocket.Decoder.TextStream<Reader>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface jakarta.websocket.Decoder

    jakarta.websocket.Decoder.Binary<T extends Object>, jakarta.websocket.Decoder.BinaryStream<T extends Object>, jakarta.websocket.Decoder.Text<T extends Object>, jakarta.websocket.Decoder.TextStream<T extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(Reader reader)
     
    void
     
    void
    init(jakarta.websocket.EndpointConfig config)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ReaderDecoder

      public ReaderDecoder()
  • Method Details

    • decode

      public Reader decode(Reader reader) throws jakarta.websocket.DecodeException, IOException
      Specified by:
      decode in interface jakarta.websocket.Decoder.TextStream<Reader>
      Throws:
      jakarta.websocket.DecodeException
      IOException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface jakarta.websocket.Decoder
    • init

      public void init(jakarta.websocket.EndpointConfig config)
      Specified by:
      init in interface jakarta.websocket.Decoder