Interface WebSocketSafeTypeEncoder<R,T>

Type Parameters:
R - The result type after encoding.
T - The input type to be encoded.
All Superinterfaces:
Codec<R,T>, Encoder<R,T>
All Known Subinterfaces:
WebSocketSafeTypeEncoder.TypeToByteArrayEncoder<T>, WebSocketSafeTypeEncoder.TypeToByteBufferEncoder<T>, WebSocketSafeTypeEncoder.TypeToJsonEncoder<T>, WebSocketSafeTypeEncoder.TypeToStringEncoder<T>

A sealed Encoder for safely encoding types for WebSocket communication.

Implementations of this interface convert application-level objects into various WebSocket compatible formats such as byte arrays, strings, byte buffers, or frame.

Since:
3.5.0
See Also: