Class InputStreamDecoder

java.lang.Object
org.eclipse.jetty.websocket.javax.common.decoders.InputStreamDecoder
All Implemented Interfaces:
javax.websocket.Decoder, javax.websocket.Decoder.BinaryStream<InputStream>

public class InputStreamDecoder extends Object implements javax.websocket.Decoder.BinaryStream<InputStream>
  • Constructor Details

    • InputStreamDecoder

      public InputStreamDecoder()
  • Method Details

    • decode

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