Top Description Fields Constructors Methods
org.springframework.messaging.simp.stomp

public final Enum StompCommand

extends Enum<StompCommand>
Class Inheritance
Imports
org.springframework.messaging.simp.SimpMessageType

Represents a STOMP command.
Authors
Rossen Stoyanchev, Juergen Hoeller
Since
4.0

Field Summary

Modifier and TypeField and Description
public static final StompCommand
public static final StompCommand
public static final StompCommand
private final boolean
public static final StompCommand
public static final StompCommand
public static final StompCommand
private final boolean
public static final StompCommand
public static final StompCommand
public static final StompCommand
private final SimpMessageType
public static final StompCommand
public static final StompCommand
public static final StompCommand
public static final StompCommand
public static final StompCommand
private final boolean
public static final StompCommand

Constructor Summary

AccessConstructor and Description
private
private
StompCommand(SimpMessageType messageType, boolean destination, boolean subscriptionId, boolean body)

Method Summary

Modifier and TypeMethod and Description
public SimpMessageType
public boolean
public boolean
public boolean
public boolean
public static StompCommand
public static StompCommand[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ABORTback to summary
public static final StompCommand ABORT
ACKback to summary
public static final StompCommand ACK
BEGINback to summary
public static final StompCommand BEGIN
bodyback to summary
private final boolean body
COMMITback to summary
public static final StompCommand COMMIT
CONNECTback to summary
public static final StompCommand CONNECT
CONNECTEDback to summary
public static final StompCommand CONNECTED
destinationback to summary
private final boolean destination
DISCONNECTback to summary
public static final StompCommand DISCONNECT
ERRORback to summary
public static final StompCommand ERROR
MESSAGEback to summary
public static final StompCommand MESSAGE
messageTypeback to summary
private final SimpMessageType messageType
NACKback to summary
public static final StompCommand NACK
RECEIPTback to summary
public static final StompCommand RECEIPT
SENDback to summary
public static final StompCommand SEND
STOMPback to summary
public static final StompCommand STOMP
SUBSCRIBEback to summary
public static final StompCommand SUBSCRIBE
subscriptionIdback to summary
private final boolean subscriptionId
UNSUBSCRIBEback to summary
public static final StompCommand UNSUBSCRIBE

Constructor Detail

StompCommandback to summary
private StompCommand(SimpMessageType messageType)
StompCommandback to summary
private StompCommand(SimpMessageType messageType, boolean destination, boolean subscriptionId, boolean body)

Method Detail

getMessageTypeback to summary
public SimpMessageType getMessageType()
isBodyAllowedback to summary
public boolean isBodyAllowed()
requiresContentLengthback to summary
public boolean requiresContentLength()
requiresDestinationback to summary
public boolean requiresDestination()
requiresSubscriptionIdback to summary
public boolean requiresSubscriptionId()
valueOfback to summary
public static StompCommand valueOf(String name)
valuesback to summary
public static StompCommand[] values()