Class ByteBufferEncoder
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.encoders.ByteBufferEncoder
-
- All Implemented Interfaces:
Encoder,Encoder.Binary<ByteBuffer>
public class ByteBufferEncoder extends Object implements Encoder.Binary<ByteBuffer>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.websocket.Encoder
Encoder.Binary<T extends Object>, Encoder.BinaryStream<T extends Object>, Encoder.Text<T extends Object>, Encoder.TextStream<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description ByteBufferEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()ByteBufferencode(ByteBuffer object)voidinit(EndpointConfig config)
-
-
-
Method Detail
-
encode
public ByteBuffer encode(ByteBuffer object) throws EncodeException
- Specified by:
encodein interfaceEncoder.Binary<ByteBuffer>- Throws:
EncodeException
-
init
public void init(EndpointConfig config)
-
-