Class ReaderDecoder

  • All Implemented Interfaces:
    javax.websocket.Decoder, javax.websocket.Decoder.TextStream<java.io.Reader>

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

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

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

      Constructors 
      Constructor Description
      ReaderDecoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.Reader decode​(java.io.Reader reader)  
      void destroy()  
      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 Detail

      • ReaderDecoder

        public ReaderDecoder()
    • Method Detail

      • decode

        public java.io.Reader decode​(java.io.Reader reader)
                              throws javax.websocket.DecodeException,
                                     java.io.IOException
        Specified by:
        decode in interface javax.websocket.Decoder.TextStream<java.io.Reader>
        Throws:
        javax.websocket.DecodeException
        java.io.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