Class GraphQLSessionUnsubscribeEvent

  • All Implemented Interfaces:
    Serializable

    public class GraphQLSessionUnsubscribeEvent
    extends AbstractGraphQLSubProtocolEvent
    Event raised when a new WebSocket client using a GraphQL Messaging Protocol as the WebSocket sub-protocol issues a connect request.

    Note that this is not the same as the WebSocket session getting established but rather the client's first attempt to connect within the sub-protocol, for example sending the CONNECT frame.

    See Also:
    Serialized Form
    • Constructor Detail

      • GraphQLSessionUnsubscribeEvent

        public GraphQLSessionUnsubscribeEvent​(Object source,
                                              org.springframework.messaging.Message<GraphQLMessage> message)
        Create a new SessionConnectEvent.
        Parameters:
        source - the component that published the event (never null)
        message - the connect message
      • GraphQLSessionUnsubscribeEvent

        public GraphQLSessionUnsubscribeEvent​(Object source,
                                              org.springframework.messaging.Message<GraphQLMessage> message,
                                              Principal user)