Top Description Classes
module spring.websocket

Package org.springframework.web.socket.server.support

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Server-side support classes including container-specific strategies for upgrading a request.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractHandshakeHandler

A base class for HandshakeHandler implementations, independent of the Servlet API.

public class
DefaultHandshakeHandler

A default org.springframework.web.socket.server.HandshakeHandler implementation, extending AbstractHandshakeHandler with Servlet-specific initialization support.

pack-priv class
HandshakeHandlerRuntimeHints

RuntimeHintsRegistrar implementation that registers reflection entries for AbstractHandshakeHandler.

public class
HandshakeInterceptorChain

A helper class that assists with invoking a list of handshake interceptors.

public class
HttpSessionHandshakeInterceptor

An interceptor to copy information from the HTTP session to the "handshake attributes" map to be made available via WebSocketSession#getAttributes().

public class
OriginHandshakeInterceptor

An interceptor to check request Origin header value against a collection of allowed origins.

public class
WebSocketHandlerMapping

Extension of SimpleUrlHandlerMapping with support for more precise mapping of WebSocket handshake requests to handlers of type WebSocketHttpRequestHandler.

public class
WebSocketHttpRequestHandler

A HttpRequestHandler for processing WebSocket handshake requests.