类的使用
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中的方法 修饰符和类型 方法 说明 StompCommandStompHeaderAccessor. getCommand()Return the STOMP command, ornullif not yet set.static StompCommandStompHeaderAccessor. getCommand(Map<String,Object> headers)Return the STOMP command from the given headers, ornullif not set.StompCommandStompHeaderAccessor. updateStompCommandAsClientMessage()static StompCommandStompCommand. valueOf(String name)返回带有指定名称的该类型的枚举常量。static StompCommand[]StompCommand. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为StompCommand的org.springframework.messaging.simp.stomp中的方法 修饰符和类型 方法 说明 static StompHeaderAccessorStompHeaderAccessor. create(StompCommand command)Create an instance for the given STOMP command.static StompHeaderAccessorStompHeaderAccessor. create(StompCommand command, Map<String,List<String>> headers)Create an instance for the given STOMP command and headers.voidStompSessionHandler. 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.voidStompSessionHandlerAdapter. handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, Throwable exception)This implementation is empty.