public class ClientStompEncoder
extends org.springframework.messaging.simp.stomp.StompEncoder
StompEncoder extension to prepare a message for sending/receiving
before/after encoding/decoding when used from WebSockets client side.
For example it updates the stompCommand header from the MESSAGE
to SEND frame, which is the case of
StompSubProtocolHandler.| Constructor and Description |
|---|
ClientStompEncoder() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode(java.util.Map<java.lang.String,java.lang.Object> headers,
byte[] payload) |