Class DefaultStompSession

java.lang.Object
org.springframework.messaging.simp.stomp.DefaultStompSession
All Implemented Interfaces:
ConnectionHandlingStompSession, StompSession, StompTcpConnectionHandler<byte[]>, TcpConnectionHandler<byte[]>

public class DefaultStompSession extends Object implements ConnectionHandlingStompSession
Default implementation of ConnectionHandlingStompSession.
Since:
4.2
Author:
Rossen Stoyanchev
  • Field Details

    • EMPTY_PAYLOAD

      public static final byte[] EMPTY_PAYLOAD
      An empty payload.
  • Constructor Details

    • DefaultStompSession

      public DefaultStompSession(StompSessionHandler sessionHandler, StompHeaders connectHeaders)
      Create a new session.
      Parameters:
      sessionHandler - the application handler for the session
      connectHeaders - headers for the STOMP CONNECT frame
  • Method Details