Uses of Interface
org.springframework.messaging.simp.stomp.StompSessionHandler
Packages that use 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
Classes in org.springframework.messaging.simp.stomp that implement StompSessionHandlerModifier and TypeClassDescriptionclassAbstract 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.Methods in org.springframework.messaging.simp.stomp that return StompSessionHandlerModifier and TypeMethodDescriptionDefaultStompSession.getSessionHandler()Return the configured session handler.Methods in org.springframework.messaging.simp.stomp with parameters of type StompSessionHandlerModifier and TypeMethodDescriptionReactorNettyTcpStompClient.connect(StompHeaders connectHeaders, StompSessionHandler handler) Deprecated.ReactorNettyTcpStompClient.connect(StompSessionHandler handler) Deprecated.as of 6.0, in favor ofReactorNettyTcpStompClient.connectAsync(StompSessionHandler)ReactorNettyTcpStompClient.connectAsync(StompHeaders connectHeaders, StompSessionHandler handler) An overloaded version ofReactorNettyTcpStompClient.connectAsync(StompSessionHandler)that accepts headers to use for the STOMP CONNECT frame.ReactorNettyTcpStompClient.connectAsync(StompSessionHandler handler) Connect and notify the givenStompSessionHandlerwhen connected on the STOMP level.protected ConnectionHandlingStompSessionStompClientSupport.createSession(StompHeaders connectHeaders, StompSessionHandler handler) Factory method for create and configure a new session.Constructors in org.springframework.messaging.simp.stomp with parameters of type StompSessionHandlerModifierConstructorDescriptionDefaultStompSession(StompSessionHandler sessionHandler, StompHeaders connectHeaders) Create a new session. -
Uses of StompSessionHandler in org.springframework.web.socket.messaging
Methods in org.springframework.web.socket.messaging with parameters of type StompSessionHandlerModifier and TypeMethodDescriptionWebSocketStompClient.connect(String url, StompSessionHandler handler, Object... uriVars) Deprecated.as of 6.0, in favor ofWebSocketStompClient.connectAsync(String, StompSessionHandler, Object...)WebSocketStompClient.connect(String url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler handler, Object... uriVariables) Deprecated.WebSocketStompClient.connect(String url, WebSocketHttpHeaders handshakeHeaders, StompSessionHandler handler, Object... uriVariables) Deprecated.WebSocketStompClient.connect(URI url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler sessionHandler) Deprecated.WebSocketStompClient.connectAsync(String url, StompSessionHandler handler, Object... uriVars) Connect to the given WebSocket URL and notify the givenStompSessionHandlerwhen connected on the STOMP level after the CONNECTED frame is received.WebSocketStompClient.connectAsync(String url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler handler, Object... uriVariables) An overloaded version ofWebSocketStompClient.connect(String, StompSessionHandler, Object...)that also acceptsWebSocketHttpHeadersto use for the WebSocket handshake andStompHeadersfor the STOMP CONNECT frame.WebSocketStompClient.connectAsync(String url, WebSocketHttpHeaders handshakeHeaders, StompSessionHandler handler, Object... uriVariables) An overloaded version ofWebSocketStompClient.connect(String, StompSessionHandler, Object...)that also acceptsWebSocketHttpHeadersto use for the WebSocket handshake.WebSocketStompClient.connectAsync(URI url, WebSocketHttpHeaders handshakeHeaders, StompHeaders connectHeaders, StompSessionHandler sessionHandler) An overloaded version ofWebSocketStompClient.connect(String, WebSocketHttpHeaders, StompSessionHandler, Object...)that accepts a fully preparedURI.
ReactorNettyTcpStompClient.connectAsync(StompHeaders, StompSessionHandler)