程序包 org.springframework.messaging.simp.stomp
Generic support for simple messaging protocols (like STOMP).
接口概要 接口 说明 ConnectionHandlingStompSession AStompSessionthat implementsTcpConnectionHandlerin order to send and receive messages.StompBrokerRelayMessageHandler.Stats Contract for access to session counters.StompFrameHandler Contract to handle a STOMP frame.StompSession Represents a STOMP session with operations to send messages, create subscriptions and receive messages on those subscriptions.StompSession.Receiptable A handle to use to track receipts.StompSession.Subscription A handle to use to unsubscribe or to track a receipt.StompSessionHandler A contract for client STOMP session lifecycle events including a callback when the session is established and notifications of transport or message handling failures.类概要 类 说明 BufferingStompDecoder An extension ofStompDecoderthat buffers content remaining in the input ByteBuffer after the parent class has read all (complete) STOMP frames from it.DefaultStompSession Default implementation ofConnectionHandlingStompSession.ReactorNettyTcpStompClient A STOMP over TCP client that usesReactorNettyTcpClient.StompBrokerRelayMessageHandler AMessageHandlerthat handles messages by forwarding them to a STOMP broker.StompClientSupport Base class for STOMP client implementations.StompDecoder Decodes one or more STOMP frames contained in aByteBuffer.StompEncoder An encoder for STOMP frames.StompHeaderAccessor AMessageHeaderAccessorto use when creating aMessagefrom a decoded STOMP frame, or when encoding aMessageto a STOMP frame.StompHeaders Represents STOMP frame headers.StompReactorNettyCodec Simple delegation to StompDecoder and StompEncoder.StompSessionHandlerAdapter Abstract adapter class forStompSessionHandlerwith mostly empty implementation methods except forStompSessionHandlerAdapter.getPayloadType(org.springframework.messaging.simp.stomp.StompHeaders)which returns String as the default Object type expected for STOMP ERROR frame payloads.枚举概要 枚举 说明 StompCommand Represents a STOMP command.异常错误概要 异常错误 说明 ConnectionLostException Raised when the connection for a STOMP session is lost rather than closed.StompConversionException Raised after a failure to encode or decode a STOMP message.