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

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

    • InputStreamDecoder

      public InputStreamDecoder()
  • Method Details

    • decode

      public InputStream decode(InputStream is) throws jakarta.websocket.DecodeException, IOException
      Specified by:
      decode in interface jakarta.websocket.Decoder.BinaryStream<InputStream>
      Throws:
      jakarta.websocket.DecodeException
      IOException
    • destroy

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

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