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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()encode(ByteBuffer object) voidinit(javax.websocket.EndpointConfig config)
-
Constructor Details
-
ByteBufferEncoder
public ByteBufferEncoder()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfacejavax.websocket.Encoder
-
encode
- Specified by:
encodein interfacejavax.websocket.Encoder.Binary<ByteBuffer>- Throws:
javax.websocket.EncodeException
-
init
public void init(javax.websocket.EndpointConfig config) - Specified by:
initin interfacejavax.websocket.Encoder
-