StompDecoder
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static interface | StompEncoder.Result
Accumulates byte content and returns an aggregated byte[] at the end. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Byte | |
| private static final int | |
| private final Map | |
| private final Map | |
| private static final Byte | |
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] | |
| private byte[] | |
| private byte[] | |
| private String | |
| private StringBuilder | |
| private void | writeHeaders(StompCommand command, Map<String, Object> headers, byte[] payload, StompEncoder.
|
| COLON_BYTE | back to summary |
|---|---|
| private static final Byte COLON_BYTE | |
| HEADER_KEY_CACHE_LIMIT | back to summary |
|---|---|
| private static final int HEADER_KEY_CACHE_LIMIT | |
| headerKeyAccessCache | back to summary |
|---|---|
| private final Map<String, byte[]> headerKeyAccessCache | |
| headerKeyUpdateCache | back to summary |
|---|---|
private final Map<String, byte[]> headerKeyUpdateCache
| |
| LINE_FEED_BYTE | back to summary |
|---|---|
| private static final Byte LINE_FEED_BYTE | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| StompEncoder | back to summary |
|---|---|
| public StompEncoder() | |
| encode | back to summary |
|---|---|
| public byte[] encode(Message<byte[]> message) Encodes the given STOMP
| |
| encode | back to summary |
|---|---|
| public byte[] encode(Map<String, Object> headers, byte[] payload) Encodes the given payload and headers into a | |
| encodeHeaderKey | back to summary |
|---|---|
| private byte[] encodeHeaderKey(String input, boolean escape) | |
| encodeHeaderValue | back to summary |
|---|---|
| private byte[] encodeHeaderValue(String input, boolean escape) | |
| escape | back to summary |
|---|---|
| private String escape(String inString) See STOMP Spec 1.2: "Value Encoding". | |
| getStringBuilder | back to summary |
|---|---|
| private StringBuilder getStringBuilder(StringBuilder sb, String inString, int i) | |
| writeHeaders | back to summary |
|---|---|
| private void writeHeaders(StompCommand command, Map<String, Object> headers, byte[] payload, StompEncoder. | |
| Modifier and Type | Field and Description |
|---|---|
| private int | size
Hides java. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(byte[]
element to be appended to this list bytes)Overrides java. Implements org. |
| public void | add(byte
element to be appended to this list b)Overrides java. Implements org. |
| public byte[] |
| size | back to summary |
|---|---|
| private int size Hides java. | |
| DefaultResult | back to summary |
|---|---|
| private DefaultResult() | |
| add | back to summary |
|---|---|
| public void add(byte[] bytes) Overrides java. Implements org. Doc from java. Appends the specified element to the end of this list.
| |
| add | back to summary |
|---|---|
| public void add(byte b) Overrides java. Implements org. Doc from java. Appends the specified element to the end of this list.
| |
| toByteArray | back to summary |
|---|---|
| public byte[] toByteArray() Implements org.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public byte[] |
| add | back to summary |
|---|---|
| public void add(byte[] bytes) | |
| add | back to summary |
|---|---|
| public void add(byte b) | |
| toByteArray | back to summary |
|---|---|
| public byte[] toByteArray() | |