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 SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
StompEncoderpublic StompEncoder()
 
- 
- 
Method Details- 
encodeEncodes the given STOMPmessageinto abyte[].- Parameters:
- message- the message to encode
- Returns:
- the encoded message
 
- 
encodeEncodes the given payload and headers into abyte[].- Parameters:
- headers- the headers
- payload- the payload
- Returns:
- the encoded message
 
 
-