Uses of Interface
org.springframework.messaging.simp.stomp.StompSessionHandler
Package
Description
Generic support for simple messaging protocols (like STOMP).
WebSocket integration for Spring's messaging module.
-
Uses of StompSessionHandler in org.springframework.messaging.simp.stomp
Modifier and TypeClassDescriptionclass
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.Modifier and TypeMethodDescriptionDefaultStompSession.getSessionHandler()
Return the configured session handler.Modifier and TypeMethodDescriptionReactorNettyTcpStompClient.connect
(StompHeaders connectHeaders, StompSessionHandler handler) An overloaded version ofReactorNettyTcpStompClient.connect(StompSessionHandler)
that accepts headers to use for the STOMP CONNECT frame.ReactorNettyTcpStompClient.connect
(StompSessionHandler handler) Connect and notify the givenStompSessionHandler
when connected on the STOMP level.protected ConnectionHandlingStompSession
StompClientSupport.createSession
(StompHeaders connectHeaders, StompSessionHandler handler) Factory method for create and configure a new session.ModifierConstructorDescriptionDefaultStompSession
(StompSessionHandler sessionHandler, StompHeaders connectHeaders) Create a new session. -
Uses of StompSessionHandler in org.springframework.web.socket.messaging
Modifier and TypeMethodDescriptionWebSocketStompClient.connect
(String url, StompSessionHandler handler, Object... uriVars) Connect to the given WebSocket URL and notify the givenStompSessionHandler
when connected on the STOMP level after the CONNECTED frame is received.WebSocketStompClient.connect
(String url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler handler, Object... uriVariables) An overloaded version ofWebSocketStompClient.connect(String, StompSessionHandler, Object...)
that also acceptsWebSocketHttpHeaders
to use for the WebSocket handshake andStompHeaders
for the STOMP CONNECT frame.WebSocketStompClient.connect
(String url, WebSocketHttpHeaders handshakeHeaders, StompSessionHandler handler, Object... uriVariables) An overloaded version ofWebSocketStompClient.connect(String, StompSessionHandler, Object...)
that also acceptsWebSocketHttpHeaders
to use for the WebSocket handshake.WebSocketStompClient.connect
(URI url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler sessionHandler) An overloaded version ofWebSocketStompClient.connect(String, WebSocketHttpHeaders, StompSessionHandler, Object...)
that accepts a fully preparedURI
.