Class ClientStompEncoder
java.lang.Object
org.springframework.messaging.simp.stomp.StompEncoder
org.springframework.integration.websocket.support.ClientStompEncoder
public class ClientStompEncoder
extends org.springframework.messaging.simp.stomp.StompEncoder
A
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.- Since:
- 4.3.13
-
Constructor Summary
Constructors Constructor Description ClientStompEncoder() -
Method Summary
Modifier and Type Method Description byte[]encode(java.util.Map<java.lang.String,java.lang.Object> headers, byte[] payload)
-
Constructor Details
-
ClientStompEncoder
public ClientStompEncoder()
-
-
Method Details
-
encode
public byte[] encode(java.util.Map<java.lang.String,java.lang.Object> headers, byte[] payload)- Overrides:
encodein classorg.springframework.messaging.simp.stomp.StompEncoder
-