类的使用
org.springframework.messaging.simp.stomp.StompCommand
使用StompCommand的程序包 程序包 说明 org.springframework.messaging.simp.stomp Generic support for simple messaging protocols (like STOMP).org.springframework.messaging.simp.stomp中StompCommand的使用
返回StompCommand的org.springframework.messaging.simp.stomp中的方法 修饰符和类型 方法 说明 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)
返回带有指定名称的该类型的枚举常量。static StompCommand[]
StompCommand. values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为StompCommand的org.springframework.messaging.simp.stomp中的方法 修饰符和类型 方法 说明 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.