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.-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
ConvertingEncoderDecoderSupport.BinaryDecoder<T>, ConvertingEncoderDecoderSupport.BinaryEncoder<T>, ConvertingEncoderDecoderSupport.TextDecoder<T>, ConvertingEncoderDecoderSupport.TextEncoder<T>
Nested classes/interfaces inherited from interface jakarta.websocket.Encoder
Encoder.Binary<T extends Object>, Encoder.BinaryStream<T extends Object>, Encoder.Text<T extends Object>, Encoder.TextStream<T extends Object>
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.web.socket.adapter.standard.ConvertingEncoderDecoderSupport
decode, destroy, encode, getApplicationContext, getConversionService, getMessageType, getType, init, willDecode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.websocket.Encoder.Binary
encode
-
Constructor Details
-
BinaryEncoder
public BinaryEncoder()
-