Example usage for org.springframework.web.socket.handler WebSocketHandlerDecoratorFactory interface-usage

List of usage examples for org.springframework.web.socket.handler WebSocketHandlerDecoratorFactory interface-usage

Introduction

In this page you can find the example usage for org.springframework.web.socket.handler WebSocketHandlerDecoratorFactory interface-usage.

Usage

From source file ch.rasc.wampspring.user.UserSessionWebSocketHandlerDecoratorFactory.java

/**
 * WebSocket handler decorator that manages the relationship between a
 * {@link Principal#getName()} to a WebSocket session id. The mappings are stored in an
 * {@link org.springframework.messaging.simp.user.UserSessionRegistry} bean.
 *
 * The UserSessionRegistry handling is not enabled by default! See

From source file org.springframework.session.web.socket.handler.WebSocketConnectHandlerDecoratorFactory.java

/**
 * Ensures that a {@link SessionConnectEvent} is published in
 * {@link WebSocketHandler#afterConnectionEstablished(WebSocketSession)}. This is
 * necessary so that the {@link WebSocketSession} can be mapped to the corresponding
 * Spring {@link Session} to terminate any {@link WebSocketSession} associated with a
 * Spring {@link Session} that was destroyed.

From source file ch.rasc.wampspring.session.WebSocketConnectHandlerDecoratorFactory.java

/**
 * Ensures that a {@link SessionDisconnectEvent} and {@link SessionDisconnectEvent} is
 * published. This is necessary so that the {@link WebSocketSession} can be mapped to the
 * corresponding Spring {@link Session} to terminate any {@link WebSocketSession}
 * associated with a Spring {@link Session} that was destroyed.
 *