Class ConvertingEncoderDecoderSupport.BinaryEncoder<T>
java.lang.Object
org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport<T, ByteBuffer>
org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport.BinaryEncoder<T>
- Type Parameters:
T- the type that this Encoder can convert to
- All Implemented Interfaces:
Encoder, Encoder.Binary<T>
- Enclosing class:
ConvertingEncoderDecoderSupport<T,M>
public abstract static class ConvertingEncoderDecoderSupport.BinaryEncoder<T>
extends ConvertingEncoderDecoderSupport<T, ByteBuffer>
implements Encoder.Binary<T>
A binary
jakarta.websocket.Encoder that delegates
to Spring's conversion service. See ConvertingEncoderDecoderSupport for details.- Since:
- 4.0
- Author:
- Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from class ConvertingEncoderDecoderSupport
ConvertingEncoderDecoderSupport.BinaryDecoder<T>, ConvertingEncoderDecoderSupport.BinaryEncoder<T>, ConvertingEncoderDecoderSupport.TextDecoder<T>, ConvertingEncoderDecoderSupport.TextEncoder<T>Nested classes/interfaces inherited from interface Encoder
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ConvertingEncoderDecoderSupport
decode, destroy, encode, getApplicationContext, getConversionService, getMessageType, getType, init, willDecodeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Encoder.Binary
encode
-
Constructor Details
-
BinaryEncoder
public BinaryEncoder()
-