public class StompFrame extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StompFrame.HeaderEntry |
Modifier and Type | Field and Description |
---|---|
static org.vertx.java.core.buffer.Buffer |
NO_DATA |
Constructor and Description |
---|
StompFrame() |
StompFrame(Ascii action) |
Modifier and Type | Method and Description |
---|---|
Ascii |
action() |
StompFrame |
action(Ascii action) |
void |
addContentLengthHeader() |
void |
addHeader(Ascii key,
Ascii value) |
void |
clearHeaders() |
StompFrame |
clone() |
org.vertx.java.core.buffer.Buffer |
content() |
StompFrame |
content(org.vertx.java.core.buffer.Buffer content) |
String |
contentAsString() |
static String |
decodeHeader(org.vertx.java.core.buffer.Buffer value) |
static Ascii |
encodeHeader(String value) |
static Map<Ascii,Ascii> |
encodeHeaders(Map<String,String> headers) |
Ascii |
getHeader(Ascii key) |
List<StompFrame.HeaderEntry> |
headerList() |
Map<Ascii,Ascii> |
headerMap() |
Map<Ascii,Ascii> |
headerMap(Set<Ascii> reversedHeaderHandling) |
void |
setHeaders(ArrayList<StompFrame.HeaderEntry> values) |
public StompFrame()
public StompFrame(Ascii action)
public StompFrame clone()
public Ascii action()
public StompFrame action(Ascii action)
public org.vertx.java.core.buffer.Buffer content()
public StompFrame content(org.vertx.java.core.buffer.Buffer content)
public String contentAsString()
public List<StompFrame.HeaderEntry> headerList()
public void clearHeaders()
public void setHeaders(ArrayList<StompFrame.HeaderEntry> values)
public void addContentLengthHeader()
public static String decodeHeader(org.vertx.java.core.buffer.Buffer value)
Copyright © 2011–2014 Red Hat. All rights reserved.