程序包 org.springframework.web.socket.server.support
Server-side support classes including container-specific strategies for upgrading a request.
类概要 类 说明 AbstractHandshakeHandler A base class forHandshakeHandlerimplementations, independent from the Servlet API.DefaultHandshakeHandler A defaultHandshakeHandlerimplementation, extendingAbstractHandshakeHandlerwith 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 requestOriginheader value against a collection of allowed origins.WebSocketHandlerMapping An extension ofSimpleUrlHandlerMappingthat is also aSmartLifecyclecontainer and propagates start and stop calls to any handlers that implementLifecycle.WebSocketHttpRequestHandler AHttpRequestHandlerfor processing WebSocket handshake requests.