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