Package | Description |
---|---|
org.springframework.messaging.simp.stomp |
Generic support for simple messaging protocols (like STOMP).
|
Modifier and Type | Method and Description |
---|---|
StompCommand |
StompHeaderAccessor.getCommand()
Return the STOMP command, or
null if not yet set. |
static StompCommand |
StompHeaderAccessor.getCommand(java.util.Map<java.lang.String,java.lang.Object> headers)
Return the STOMP command from the given headers, or
null if not set. |
StompCommand |
StompHeaderAccessor.updateStompCommandAsClientMessage() |
static StompCommand |
StompCommand.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StompCommand[] |
StompCommand.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static StompHeaderAccessor |
StompHeaderAccessor.create(StompCommand command)
Create an instance for the given STOMP command.
|
static StompHeaderAccessor |
StompHeaderAccessor.create(StompCommand command,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
Create an instance for the given STOMP command and headers.
|
void |
StompSessionHandlerAdapter.handleException(StompSession session,
StompCommand command,
StompHeaders headers,
byte[] payload,
java.lang.Throwable exception)
This implementation is empty.
|
void |
StompSessionHandler.handleException(StompSession session,
StompCommand command,
StompHeaders headers,
byte[] payload,
java.lang.Throwable exception)
Handle any exception arising while processing a STOMP frame such as a
failure to convert the payload or an unhandled exception in the
application
StompFrameHandler . |