public final class WebSocketConnectHandlerDecoratorFactory extends Object implements org.springframework.web.socket.handler.WebSocketHandlerDecoratorFactory
SessionConnectEvent is published in
WebSocketHandler.afterConnectionEstablished(WebSocketSession). This
is necessary so that the WebSocketSession can be mapped to the
corresponding Spring Session to terminate any
WebSocketSession associated with a Spring Session that was
destroyed.WebSocketRegistryListener| Constructor and Description |
|---|
WebSocketConnectHandlerDecoratorFactory(org.springframework.context.ApplicationEventPublisher eventPublisher)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.socket.WebSocketHandler |
decorate(org.springframework.web.socket.WebSocketHandler handler) |