Package | Description |
---|---|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
org.springframework.web.socket.server.support |
Server-side support classes including container-specific strategies
for upgrading a request.
|
org.springframework.web.socket.sockjs.transport.handler |
TransportHandler
implementation classes as well as a concrete
SockJsService . |
Modifier and Type | Method and Description |
---|---|
protected HandshakeHandler |
AbstractWebSocketHandlerRegistration.getHandshakeHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
ServletWebSocketHandlerRegistration.addWebSocketHandlerMapping(MultiValueMap<HttpRequestHandler,String> mappings,
WebSocketHandler webSocketHandler,
HandshakeHandler handshakeHandler,
HandshakeInterceptor[] interceptors,
String path) |
protected abstract void |
AbstractWebSocketHandlerRegistration.addWebSocketHandlerMapping(M mappings,
WebSocketHandler wsHandler,
HandshakeHandler handshakeHandler,
HandshakeInterceptor[] interceptors,
String path) |
StompWebSocketEndpointRegistration |
StompWebSocketEndpointRegistration.setHandshakeHandler(HandshakeHandler handshakeHandler)
Configure the HandshakeHandler to use.
|
WebSocketHandlerRegistration |
WebSocketHandlerRegistration.setHandshakeHandler(HandshakeHandler handshakeHandler)
Configure the HandshakeHandler to use.
|
StompWebSocketEndpointRegistration |
WebMvcStompWebSocketEndpointRegistration.setHandshakeHandler(HandshakeHandler handshakeHandler) |
WebSocketHandlerRegistration |
AbstractWebSocketHandlerRegistration.setHandshakeHandler(HandshakeHandler handshakeHandler) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHandshakeHandler
A base class for
HandshakeHandler implementations, independent of the Servlet API. |
class |
DefaultHandshakeHandler
A default
HandshakeHandler implementation,
extending AbstractHandshakeHandler with Servlet-specific initialization support. |
Modifier and Type | Method and Description |
---|---|
HandshakeHandler |
WebSocketHttpRequestHandler.getHandshakeHandler()
Return the HandshakeHandler.
|
Constructor and Description |
---|
WebSocketHttpRequestHandler(WebSocketHandler wsHandler,
HandshakeHandler handshakeHandler) |
Modifier and Type | Class and Description |
---|---|
class |
WebSocketTransportHandler
WebSocket-based
TransportHandler . |
Modifier and Type | Method and Description |
---|---|
HandshakeHandler |
WebSocketTransportHandler.getHandshakeHandler() |
Constructor and Description |
---|
WebSocketTransportHandler(HandshakeHandler handshakeHandler) |