public final class UserSessionWebSocketHandlerDecoratorFactory extends Object implements org.springframework.web.socket.handler.WebSocketHandlerDecoratorFactory
Principal.getName() to a WebSocket session id. The mappings are stored in an
UserSessionRegistry bean.
The UserSessionRegistry handling is not enabled by default! See
AbstractUserWampConfigurer for configuration.| Constructor and Description |
|---|
UserSessionWebSocketHandlerDecoratorFactory(org.springframework.messaging.simp.user.UserSessionRegistry userSessionRegistry) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.socket.WebSocketHandler |
decorate(org.springframework.web.socket.WebSocketHandler handler) |
Copyright © 2014–2015. All rights reserved.