public class StompFrameV12 extends StompFrame
StompFrame.Header
Constructor and Description |
---|
StompFrameV12(String command) |
StompFrameV12(String command,
Map<String,String> headers,
byte[] content) |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String key,
String val) |
String |
escape(String str) |
HornetQBuffer |
toHornetQBuffer() |
getBody, getBodyAsBytes, getCommand, getEncodedSize, getHeader, getHeadersMap, hasHeader, isPing, needsDisconnect, setBody, setByteBody, setNeedsDisconnect, setPing, toString
public StompFrameV12(String command)
public HornetQBuffer toHornetQBuffer() throws Exception
toHornetQBuffer
in class StompFrame
Exception
public void addHeader(String key, String val)
addHeader
in class StompFrame
public String escape(String str)
escape
in class StompFrame
Copyright © 2018 JBoss by Red Hat. All rights reserved.