public class StompFrameV11 extends StompFrame
StompFrame.Header| Modifier and Type | Field and Description |
|---|---|
protected List<StompFrame.Header> |
allHeaders |
buffer, bytesBody, command, END_OF_FRAME, headers, size| Constructor and Description |
|---|
StompFrameV11(String command) |
StompFrameV11(String command,
Map<String,String> headers,
byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String key,
String val) |
protected void |
encodeHeaders(StringBuilder head) |
encode, getBody, getBodyAsBytes, getCommand, getEncodedSize, getHeader, getHeadersMap, hasHeader, isPing, needsDisconnect, setBody, setByteBody, setNeedsDisconnect, setPing, toActiveMQBuffer, toStringprotected final List<StompFrame.Header> allHeaders
public StompFrameV11(String command)
protected void encodeHeaders(StringBuilder head)
encodeHeaders in class StompFramepublic void addHeader(String key, String val)
addHeader in class StompFrameCopyright © 2024 The Apache Software Foundation. All rights reserved.