Package org.springframework.web.socket.handler
@NonNullApi
@NonNullFields
package org.springframework.web.socket.handler
Convenient
WebSocketHandler
implementations and decorators.-
ClassDescriptionA convenient base class for
WebSocketHandler
implementation with empty methods.Instantiates a target handler through a SpringBeanFactory
and also provides an equivalent destroy method.A convenient base class forWebSocketHandler
implementations that process binary messages only.Wrap aWebSocketSession
to guarantee only one thread can send messages at a time.Enum for options of what to do when the buffer fills up.An exception handlingWebSocketHandlerDecorator
.AWebSocketHandlerDecorator
that adds logging to WebSocket lifecycle events.AWebSocketHandler
that initializes and destroys aWebSocketHandler
instance for each WebSocket connection and delegates all other methods to it.Raised when a WebSocket session has exceeded limits it has been configured for, for example, timeout, buffer size, etc.A convenient base class forWebSocketHandler
implementations that process text messages only.Wraps anotherWebSocketHandler
instance and delegates to it.A factory for applying decorators to a WebSocketHandler.Wraps anotherWebSocketSession
instance and delegates to it.