public enum StompCommand extends EnumSE<StompCommand>
列挙型定数と説明 |
---|
ABORT |
ACK |
BEGIN |
COMMIT |
CONNECT |
CONNECTED |
DISCONNECT |
ERROR |
MESSAGE |
NACK |
RECEIPT |
SEND |
STOMP |
SUBSCRIBE |
UNSUBSCRIBE |
修飾子と型 | メソッドと説明 |
---|---|
SimpMessageType | getMessageType() |
boolean | isBodyAllowed() |
boolean | requiresContentLength() |
boolean | requiresDestination() |
boolean | requiresSubscriptionId() |
static StompCommand | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static StompCommand[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public static final StompCommand STOMP
public static final StompCommand CONNECT
public static final StompCommand DISCONNECT
public static final StompCommand SUBSCRIBE
public static final StompCommand UNSUBSCRIBE
public static final StompCommand SEND
public static final StompCommand ACK
public static final StompCommand NACK
public static final StompCommand BEGIN
public static final StompCommand COMMIT
public static final StompCommand ABORT
public static final StompCommand CONNECTED
public static final StompCommand RECEIPT
public static final StompCommand MESSAGE
public static final StompCommand ERROR
public static StompCommand[] values()
for (StompCommand c : StompCommand.values()) System.out.println(c);
public static StompCommand valueOf(StringSE name)
name
- 返される列挙定数の名前。IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合 public SimpMessageType getMessageType()
public boolean requiresDestination()
public boolean requiresSubscriptionId()
public boolean requiresContentLength()
public boolean isBodyAllowed()