@StampyLibrary(libraryName="stampy-core") public enum StompMessageType extends java.lang.Enum<StompMessageType>
| Enum Constant and Description |
|---|
ABORT
The abort.
|
ACK
The ack.
|
BEGIN
The begin.
|
COMMIT
The commit.
|
CONNECT
The connect.
|
CONNECTED
The connected.
|
DISCONNECT
The disconnect.
|
ERROR
The error.
|
MESSAGE
The message.
|
NACK
The nack.
|
RECEIPT
The receipt.
|
SEND
The send.
|
STOMP
The stomp.
|
SUBSCRIBE
The subscribe.
|
UNSUBSCRIBE
The unsubscribe.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasBody()
Checks for body.
|
static StompMessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StompMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StompMessageType CONNECT
public static final StompMessageType STOMP
public static final StompMessageType CONNECTED
public static final StompMessageType SEND
public static final StompMessageType SUBSCRIBE
public static final StompMessageType UNSUBSCRIBE
public static final StompMessageType ACK
public static final StompMessageType NACK
public static final StompMessageType BEGIN
public static final StompMessageType COMMIT
public static final StompMessageType ABORT
public static final StompMessageType DISCONNECT
public static final StompMessageType MESSAGE
public static final StompMessageType RECEIPT
public static final StompMessageType ERROR
public static StompMessageType[] values()
for (StompMessageType c : StompMessageType.values()) System.out.println(c);
public static StompMessageType 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 boolean hasBody()