Package org.springframework.web.socket.handler
Convenient
WebSocketHandler
implementations and decorators.Interface Summary Interface Description WebSocketHandlerDecoratorFactory A factory for applying decorators to a WebSocketHandler.Class Summary Class Description AbstractWebSocketHandler A convenient base class forWebSocketHandler
implementation with empty methods.BeanCreatingHandlerProvider<T> Instantiates a target handler through a SpringBeanFactory
and also provides an equivalent destroy method.BinaryWebSocketHandler A convenient base class forWebSocketHandler
implementations that process binary messages only.ConcurrentWebSocketSessionDecorator Wrap aWebSocketSession
to guarantee only one thread can send messages at a time.ExceptionWebSocketHandlerDecorator An exception handlingWebSocketHandlerDecorator
.LoggingWebSocketHandlerDecorator AWebSocketHandlerDecorator
that adds logging to WebSocket lifecycle events.PerConnectionWebSocketHandler AWebSocketHandler
that initializes and destroys aWebSocketHandler
instance for each WebSocket connection and delegates all other methods to it.TextWebSocketHandler A convenient base class forWebSocketHandler
implementations that process text messages only.WebSocketHandlerDecorator Wraps anotherWebSocketHandler
instance and delegates to it.WebSocketSessionDecorator Wraps anotherWebSocketSession
instance and delegates to it.Enum Summary Enum Description ConcurrentWebSocketSessionDecorator.OverflowStrategy Enum for options of what to do when the buffer fills up.Exception Summary Exception Description SessionLimitExceededException Raised when a WebSocket session has exceeded limits it has been configured for, e.g.