Class ByteBufferEncoder
java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.encoders.ByteBufferEncoder
- All Implemented Interfaces:
jakarta.websocket.Encoder
,jakarta.websocket.Encoder.Binary<ByteBuffer>
public class ByteBufferEncoder
extends Object
implements jakarta.websocket.Encoder.Binary<ByteBuffer>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
encode
(ByteBuffer object) void
init
(jakarta.websocket.EndpointConfig config)
-
Constructor Details
-
ByteBufferEncoder
public ByteBufferEncoder()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfacejakarta.websocket.Encoder
-
encode
- Specified by:
encode
in interfacejakarta.websocket.Encoder.Binary<ByteBuffer>
- Throws:
jakarta.websocket.EncodeException
-
init
public void init(jakarta.websocket.EndpointConfig config) - Specified by:
init
in interfacejakarta.websocket.Encoder
-