Class ByteArrayDecoder
java.lang.Object
org.eclipse.jetty.websocket.javax.common.decoders.AbstractDecoder
org.eclipse.jetty.websocket.javax.common.decoders.ByteArrayDecoder
- All Implemented Interfaces:
javax.websocket.Decoder
,javax.websocket.Decoder.Binary<byte[]>
public class ByteArrayDecoder
extends AbstractDecoder
implements javax.websocket.Decoder.Binary<byte[]>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(ByteBuffer bytes) boolean
willDecode
(ByteBuffer bytes) Methods inherited from class org.eclipse.jetty.websocket.javax.common.decoders.AbstractDecoder
destroy, init
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.websocket.Decoder
destroy, init
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ByteArrayDecoder
public ByteArrayDecoder()
-
-
Method Details
-
decode
- Specified by:
decode
in interfacejavax.websocket.Decoder.Binary<byte[]>
- Throws:
javax.websocket.DecodeException
-
willDecode
- Specified by:
willDecode
in interfacejavax.websocket.Decoder.Binary<byte[]>
-