Class ByteBufferDecoder
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.decoders.AbstractDecoder
-
- org.eclipse.jetty.websocket.jsr356.decoders.ByteBufferDecoder
-
- All Implemented Interfaces:
Decoder,Decoder.Binary<ByteBuffer>
public class ByteBufferDecoder extends AbstractDecoder implements Decoder.Binary<ByteBuffer>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.websocket.Decoder
Decoder.Binary<T extends Object>, Decoder.BinaryStream<T extends Object>, Decoder.Text<T extends Object>, Decoder.TextStream<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static ByteBufferDecoderINSTANCE
-
Constructor Summary
Constructors Constructor Description ByteBufferDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferdecode(ByteBuffer bytes)booleanwillDecode(ByteBuffer bytes)-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.decoders.AbstractDecoder
destroy, init
-
-
-
-
Field Detail
-
INSTANCE
public static final ByteBufferDecoder INSTANCE
-
-
Method Detail
-
decode
public ByteBuffer decode(ByteBuffer bytes) throws DecodeException
- Specified by:
decodein interfaceDecoder.Binary<ByteBuffer>- Throws:
DecodeException
-
willDecode
public boolean willDecode(ByteBuffer bytes)
- Specified by:
willDecodein interfaceDecoder.Binary<ByteBuffer>
-
-