Class DefaultBinaryStreamEncoder
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.encoders.AbstractEncoder
-
- org.eclipse.jetty.websocket.jsr356.encoders.DefaultBinaryStreamEncoder
-
- All Implemented Interfaces:
javax.websocket.Encoder
,javax.websocket.Encoder.BinaryStream<java.nio.ByteBuffer>
public class DefaultBinaryStreamEncoder extends AbstractEncoder implements javax.websocket.Encoder.BinaryStream<java.nio.ByteBuffer>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.websocket.Encoder
javax.websocket.Encoder.Binary<T extends java.lang.Object>, javax.websocket.Encoder.BinaryStream<T extends java.lang.Object>, javax.websocket.Encoder.Text<T extends java.lang.Object>, javax.websocket.Encoder.TextStream<T extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description DefaultBinaryStreamEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(java.nio.ByteBuffer message, java.io.OutputStream out)
-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.encoders.AbstractEncoder
destroy, init
-
-
-
-
Method Detail
-
encode
public void encode(java.nio.ByteBuffer message, java.io.OutputStream out) throws javax.websocket.EncodeException, java.io.IOException
- Specified by:
encode
in interfacejavax.websocket.Encoder.BinaryStream<java.nio.ByteBuffer>
- Throws:
javax.websocket.EncodeException
java.io.IOException
-
-