Class InputStreamDecoder

java.lang.Object
org.eclipse.jetty.ee8.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>
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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

    • 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