Uses of Class
org.springframework.messaging.simp.stomp.StompCommand
Packages that use StompCommand Package Description org.springframework.messaging.simp.stomp Generic support for simple messaging protocols (like STOMP).Uses of StompCommand in org.springframework.messaging.simp.stomp
Methods in org.springframework.messaging.simp.stomp that return StompCommand Modifier and Type Method Description StompCommand
StompHeaderAccessor. getCommand()
Return the STOMP command, ornull
if not yet set.static StompCommand
StompHeaderAccessor. getCommand(Map<String,Object> headers)
Return the STOMP command from the given headers, ornull
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.Methods in org.springframework.messaging.simp.stomp with parameters of type StompCommand Modifier and Type Method 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 applicationStompFrameHandler
.void
StompSessionHandlerAdapter. handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, Throwable exception)
This implementation is empty.