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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebSocketStompSessionHandler

      public WebSocketStompSessionHandler(String name)
  • Method Details

    • afterConnected

      public void afterConnected(org.springframework.messaging.simp.stomp.StompSession stompSession, org.springframework.messaging.simp.stomp.StompHeaders connectedHeaders)
      Specified by:
      afterConnected in interface org.springframework.messaging.simp.stomp.StompSessionHandler
      Overrides:
      afterConnected in class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
    • handleFrame

      public void handleFrame(org.springframework.messaging.simp.stomp.StompHeaders headers, Object payload)
      Specified by:
      handleFrame in interface org.springframework.messaging.simp.stomp.StompFrameHandler
      Overrides:
      handleFrame in class org.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 interface org.springframework.messaging.simp.stomp.StompSessionHandler
      Overrides:
      handleException in class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter
    • handleTransportError

      public void handleTransportError(org.springframework.messaging.simp.stomp.StompSession stompSession, Throwable e)
      Specified by:
      handleTransportError in interface org.springframework.messaging.simp.stomp.StompSessionHandler
      Overrides:
      handleTransportError in class org.springframework.messaging.simp.stomp.StompSessionHandlerAdapter