Class InputStreamDecoder

  • All Implemented Interfaces:
    javax.websocket.Decoder, javax.websocket.Decoder.BinaryStream<java.io.InputStream>

    public class InputStreamDecoder
    extends java.lang.Object
    implements javax.websocket.Decoder.BinaryStream<java.io.InputStream>
    • 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>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream decode​(java.io.InputStream is)  
      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

      • InputStreamDecoder

        public InputStreamDecoder()
    • Method Detail

      • decode

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