Example usage for org.springframework.web.socket.server HandshakeInterceptor interface-usage

List of usage examples for org.springframework.web.socket.server HandshakeInterceptor interface-usage

Introduction

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

Usage

From source file io.sevenluck.chat.websocket.HttpAuthTokenHandShakeInterceptor.java

/**
 *
 * @author loki
 */
public class HttpAuthTokenHandShakeInterceptor implements HandshakeInterceptor {

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

/**
 * Associates the {@link Session#getId()} with the WebSocket Session attributes when the
 * handshake is performed. This is later used when intercepting messages to ensure the
 * {@link ExpiringSession#getLastAccessedTime()} is updated.
 *
 * @author Rob Winch

From source file org.springframework.web.socket.server.support.HttpSessionHandshakeInterceptor.java

/**
 * An interceptor to copy HTTP session attributes into the map of "handshake attributes"
 * made available through {@link WebSocketSession#getAttributes()}.
 *
 * @author Rossen Stoyanchev
 * @since 4.0

From source file org.springframework.web.socket.server.support.OriginHandshakeInterceptor.java

/**
 * An interceptor to check request {@code Origin} header value against a
 * collection of allowed origins.
 *
 * @author Sebastien Deleuze
 * @since 4.1.2