Class ByteBufferDecoder

java.lang.Object
org.eclipse.jetty.websocket.javax.common.decoders.AbstractDecoder
org.eclipse.jetty.websocket.javax.common.decoders.ByteBufferDecoder
All Implemented Interfaces:
javax.websocket.Decoder, javax.websocket.Decoder.Binary<ByteBuffer>

public class ByteBufferDecoder extends AbstractDecoder implements javax.websocket.Decoder.Binary<ByteBuffer>
  • Field Details

  • Constructor Details

    • ByteBufferDecoder

      public ByteBufferDecoder()
  • Method Details

    • decode

      public ByteBuffer decode(ByteBuffer bytes) throws javax.websocket.DecodeException
      Specified by:
      decode in interface javax.websocket.Decoder.Binary<ByteBuffer>
      Throws:
      javax.websocket.DecodeException
    • willDecode

      public boolean willDecode(ByteBuffer bytes)
      Specified by:
      willDecode in interface javax.websocket.Decoder.Binary<ByteBuffer>