Class WebSocketStompSessionHandler
java.lang.Object
org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
net.brabenetz.app.springstompserver.testtools.WebSocketStompSessionHandler
- All Implemented Interfaces:
org.springframework.messaging.simp.stomp.StompFrameHandler
,org.springframework.messaging.simp.stomp.StompSessionHandler
public class WebSocketStompSessionHandler
extends org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterConnected
(org.springframework.messaging.simp.stomp.StompSession stompSession, org.springframework.messaging.simp.stomp.StompHeaders connectedHeaders) void
handleException
(org.springframework.messaging.simp.stomp.StompSession stompSession, org.springframework.messaging.simp.stomp.StompCommand command, org.springframework.messaging.simp.stomp.StompHeaders headers, byte[] payload, Throwable e) void
handleFrame
(org.springframework.messaging.simp.stomp.StompHeaders headers, Object payload) void
handleTransportError
(org.springframework.messaging.simp.stomp.StompSession stompSession, Throwable e) Methods inherited from class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
getPayloadType
-
Constructor Details
-
WebSocketStompSessionHandler
-
-
Method Details
-
afterConnected
public void afterConnected(org.springframework.messaging.simp.stomp.StompSession stompSession, org.springframework.messaging.simp.stomp.StompHeaders connectedHeaders) - Specified by:
afterConnected
in interfaceorg.springframework.messaging.simp.stomp.StompSessionHandler
- Overrides:
afterConnected
in classorg.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
-
handleFrame
public void handleFrame(org.springframework.messaging.simp.stomp.StompHeaders headers, Object payload) - Specified by:
handleFrame
in interfaceorg.springframework.messaging.simp.stomp.StompFrameHandler
- Overrides:
handleFrame
in classorg.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
-
handleException
public void handleException(org.springframework.messaging.simp.stomp.StompSession stompSession, @Nullable org.springframework.messaging.simp.stomp.StompCommand command, org.springframework.messaging.simp.stomp.StompHeaders headers, byte[] payload, Throwable e) - Specified by:
handleException
in interfaceorg.springframework.messaging.simp.stomp.StompSessionHandler
- Overrides:
handleException
in classorg.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
-
handleTransportError
public void handleTransportError(org.springframework.messaging.simp.stomp.StompSession stompSession, Throwable e) - Specified by:
handleTransportError
in interfaceorg.springframework.messaging.simp.stomp.StompSessionHandler
- Overrides:
handleTransportError
in classorg.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
-