public class StompFrameV11 extends StompFrame
StompFrame.Header| 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) |
HornetQBuffer |
toHornetQBuffer() |
escape, getBody, getBodyAsBytes, getCommand, getEncodedSize, getHeader, getHeadersMap, hasHeader, isPing, needsDisconnect, setBody, setByteBody, setNeedsDisconnect, setPing, toStringpublic StompFrameV11(String command)
public HornetQBuffer toHornetQBuffer() throws Exception
toHornetQBuffer in class StompFrameExceptionpublic void addHeader(String key, String val)
addHeader in class StompFrameCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.