public class StompMessageConverter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private class |
StompMessageConverter.Parser |
Modifier and Type | Field and Description |
---|---|
private static byte |
COLON |
static byte |
CR |
static byte |
LF |
private static java.nio.charset.Charset |
STOMP_CHARSET |
Constructor and Description |
---|
StompMessageConverter() |
Modifier and Type | Method and Description |
---|---|
private int |
findIndexOfPayload(byte[] bytes) |
byte[] |
fromMessage(Message<?> message) |
private java.lang.String |
replaceAllOutbound(java.lang.String key) |
Message<?> |
toMessage(java.lang.Object stompContent) |
private static final java.nio.charset.Charset STOMP_CHARSET
public static final byte LF
public static final byte CR
private static final byte COLON
public Message<?> toMessage(java.lang.Object stompContent)
stompContent
- a complete STOMP message (without the trailing 0x00) as byte[] or String.private int findIndexOfPayload(byte[] bytes)
public byte[] fromMessage(Message<?> message)
private java.lang.String replaceAllOutbound(java.lang.String key)