Class StompEncoder
java.lang.Object
org.springframework.messaging.simp.stomp.StompEncoder
An encoder for STOMP frames.
- Since:
- 4.0
- Author:
- Andy Wilkinson, Rossen Stoyanchev
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StompEncoder
public StompEncoder()
-
-
Method Details
-
encode
Encodes the given STOMPmessageinto abyte[].- Parameters:
message- the message to encode- Returns:
- the encoded message
-
encode
Encodes the given payload and headers into abyte[].- Parameters:
headers- the headerspayload- the payload- Returns:
- the encoded message
-