Class ByteArrayDecoder
java.lang.Object
org.eclipse.jetty.websocket.jakarta.common.decoders.AbstractDecoder
org.eclipse.jetty.websocket.jakarta.common.decoders.ByteArrayDecoder
- All Implemented Interfaces:
jakarta.websocket.Decoder
,jakarta.websocket.Decoder.Binary<byte[]>
public class ByteArrayDecoder
extends AbstractDecoder
implements jakarta.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.jakarta.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 jakarta.websocket.Decoder
destroy, init
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ByteArrayDecoder
public ByteArrayDecoder()
-
-
Method Details
-
decode
- Specified by:
decode
in interfacejakarta.websocket.Decoder.Binary<byte[]>
- Throws:
jakarta.websocket.DecodeException
-
willDecode
- Specified by:
willDecode
in interfacejakarta.websocket.Decoder.Binary<byte[]>
-