public enum StompHeader extends java.lang.Enum<StompHeader>
| Enum Constant and Description |
|---|
ACCEPT_VERSION |
CONTENT_LENGTH |
CONTENT_TYPE |
DESTINATION |
HOST |
ID |
MESSAGE_ID |
RECEIPT |
RECEIPT_ID |
SUBSCRIPTION |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static StompHeader |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StompHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StompHeader ACCEPT_VERSION
public static final StompHeader CONTENT_LENGTH
public static final StompHeader CONTENT_TYPE
public static final StompHeader DESTINATION
public static final StompHeader HOST
public static final StompHeader ID
public static final StompHeader MESSAGE_ID
public static final StompHeader RECEIPT_ID
public static final StompHeader RECEIPT
public static final StompHeader SUBSCRIPTION
public static final StompHeader VERSION
public static StompHeader[] values()
for (StompHeader c : StompHeader.values()) System.out.println(c);
public static StompHeader valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<StompHeader>