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

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

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(Reader reader)
     
    void
     
    void
    init(javax.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 javax.websocket.DecodeException, IOException
      Specified by:
      decode in interface javax.websocket.Decoder.TextStream<Reader>
      Throws:
      javax.websocket.DecodeException
      IOException
    • destroy

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

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