Package org.springframework.web.socket.handler
@NullMarked
package org.springframework.web.socket.handler
Convenient
WebSocketHandler
implementations and decorators.-
ClassDescriptionA convenient base class for
WebSocketHandlerimplementation with empty methods.Instantiates a target handler through a SpringBeanFactoryand also provides an equivalent destroy method.A convenient base class forWebSocketHandlerimplementations that process binary messages only.Wrap aWebSocketSessionto 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.AWebSocketHandlerDecoratorthat adds logging to WebSocket lifecycle events.AWebSocketHandlerthat initializes and destroys aWebSocketHandlerinstance 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 forWebSocketHandlerimplementations that process text messages only.Wraps anotherWebSocketHandlerinstance and delegates to it.A factory for applying decorators to a WebSocketHandler.Wraps anotherWebSocketSessioninstance and delegates to it.