Class ByteBufferEncoder
java.lang.Object
org.eclipse.jetty.ee8.websocket.javax.common.encoders.ByteBufferEncoder
- All Implemented Interfaces:
 javax.websocket.Encoder, javax.websocket.Encoder.Binary<ByteBuffer>
- 
Nested Class Summary
Nested classes/interfaces inherited from interface javax.websocket.Encoder
javax.websocket.Encoder.Binary<T>, javax.websocket.Encoder.BinaryStream<T>, javax.websocket.Encoder.Text<T>, javax.websocket.Encoder.TextStream<T> - 
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
 
 -