程序包 org.springframework.messaging.simp.stomp
Generic support for simple messaging protocols (like STOMP).
接口概要 接口 说明 ConnectionHandlingStompSession AStompSession
that implementsTcpConnectionHandler
in order to send and receive messages.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 ofStompDecoder
that buffers content remaining in the input ByteBuffer after the parent class has read all (complete) STOMP frames from it.DefaultStompSession Default implementation ofConnectionHandlingStompSession
.Reactor2StompCodec A Reactor TCPCodec
for sending and receiving STOMP messages.Reactor2TcpStompClient A STOMP over TCP client that usesReactor2TcpClient
.StompBrokerRelayMessageHandler AMessageHandler
that 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 AMessageHeaderAccessor
to use when creating aMessage
from a decoded STOMP frame, or when encoding aMessage
to a STOMP frame.StompHeaders Represents STOMP frame headers.StompSessionHandlerAdapter Abstract adapter class forStompSessionHandler
with 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.