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

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

Introduction

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

Usage

From source file com.dhenton9000.spring.websocket.handlers.TestHandshakeHandler.java

/**
 *
 * @author dhenton
 */
public class TestHandshakeHandler implements HandshakeHandler {

From source file org.springframework.web.socket.server.DefaultHandshakeHandler.java

/**
 * A default implemnetation of {@link HandshakeHandler}.
 * <p>
 * A container-specific {@link RequestUpgradeStrategy} is required since standard Java
 * WebSocket currently does not provide a way to initiate a WebSocket handshake.
 * Currently available are implementations for Tomcat and GlassFish.

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

/**
 * A default {@link org.springframework.web.socket.server.HandshakeHandler} implementation.
 * Performs initial validation of the WebSocket handshake request -- possibly rejecting it
 * through the appropriate HTTP status code -- while also allowing sub-classes to override
 * various parts of the negotiation process (e.g. origin validation, sub-protocol negotiation,
 * extensions negotiation, etc).

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

/**
 * A base class for {@link HandshakeHandler} implementations, independent from the Servlet API.
 *
 * <p>Performs initial validation of the WebSocket handshake request - possibly rejecting it
 * through the appropriate HTTP status code - while also allowing its subclasses to override
 * various parts of the negotiation process (e.g. origin validation, sub-protocol negotiation,