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>
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    void
    init(jakarta.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 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