程序包 org.springframework.web.socket.server.support
Server-side support classes including container-specific strategies for upgrading a request.
类概要 类 说明 AbstractHandshakeHandler A base class forHandshakeHandler
implementations, independent from the Servlet API.DefaultHandshakeHandler A defaultHandshakeHandler
implementation, extendingAbstractHandshakeHandler
with Servlet-specific initialization support.HandshakeInterceptorChain A helper class that assists with invoking a list of handshake interceptors.HttpSessionHandshakeInterceptor An interceptor to copy information from the HTTP session to the "handshake attributes" map to made available viaWebSocketSession.getAttributes()
.OriginHandshakeInterceptor An interceptor to check requestOrigin
header value against a collection of allowed origins.WebSocketHandlerMapping An extension ofSimpleUrlHandlerMapping
that is also aSmartLifecycle
container and propagates start and stop calls to any handlers that implementLifecycle
.WebSocketHttpRequestHandler AHttpRequestHandler
for processing WebSocket handshake requests.