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(Map<String,Object> headers)
Return the STOMP command from the given headers, or
null if not set. |
StompCommand |
StompHeaderAccessor.updateStompCommandAsClientMessage() |
static StompCommand |
StompCommand.valueOf(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,
Map<String,List<String>> headers)
Create an instance for the given STOMP command and headers.
|
void |
StompSessionHandler.handleException(StompSession session,
StompCommand command,
StompHeaders headers,
byte[] payload,
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 . |
void |
StompSessionHandlerAdapter.handleException(StompSession session,
StompCommand command,
StompHeaders headers,
byte[] payload,
Throwable exception)
This implementation is empty.
|