Package org.springframework.web.socket.messaging
@NonNullApi
@NonNullFields
package org.springframework.web.socket.messaging
WebSocket integration for Spring's messaging module.
-
ClassDescriptionA base class for events for a message received from a WebSocket client and parsed into a higher-level sub-protocol (e.g.A default implementation of
SimpUserRegistry
that relies onAbstractSubProtocolEvent
application context events to keep track of connected users and their subscriptions.A connected event represents the server response to a client's connect request.Event raised when a new WebSocket client using a Simple Messaging Protocol (e.g.Event raised when the session of a WebSocket client using a Simple Messaging Protocol (e.g.Event raised when a new WebSocket client using a Simple Messaging Protocol (e.g.Event raised when a new WebSocket client using a Simple Messaging Protocol (e.g.ASubProtocolErrorHandler
for use with STOMP.ASubProtocolHandler
for STOMP that supports versions 1.0, 1.1, and 1.2 of the STOMP specification.Contract for access to session counters.A contract for handling sub-protocol errors sent to clients.A contract for handling WebSocket messages as part of a higher level protocol, referred to as "sub-protocol" in the WebSocket RFC specification.An implementation ofWebSocketHandler
that delegates incoming WebSocket messages to aSubProtocolHandler
along with aMessageChannel
to which the sub-protocol handler can send messages from WebSocket clients to the application.Contract for access to session counters.A subclass ofSimpAnnotationMethodMessageHandler
to provide support forControllerAdvice
with global@MessageExceptionHandler
methods.A STOMP over WebSocket client that connects using an implementation ofWebSocketClient
includingSockJsClient
.