Package | Description |
---|---|
org.springframework.web.socket.server |
Server-side abstractions for WebSocket interactions.
|
org.springframework.web.socket.server.jetty |
Server-side support for the Jetty 9+ WebSocket API.
|
org.springframework.web.socket.server.standard |
Server-side classes for use with standard JSR-356 WebSocket endpoints.
|
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 |
---|---|
boolean |
HandshakeHandler.doHandshake(ServerHttpRequest request,
ServerHttpResponse response,
WebSocketHandler wsHandler,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Initiate the handshake.
|
void |
RequestUpgradeStrategy.upgrade(ServerHttpRequest request,
ServerHttpResponse response,
java.lang.String selectedProtocol,
java.util.List<WebSocketExtension> selectedExtensions,
java.security.Principal user,
WebSocketHandler wsHandler,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Perform runtime specific steps to complete the upgrade.
|
Modifier and Type | Method and Description |
---|---|
void |
JettyRequestUpgradeStrategy.upgrade(ServerHttpRequest request,
ServerHttpResponse response,
java.lang.String selectedProtocol,
java.util.List<WebSocketExtension> selectedExtensions,
java.security.Principal user,
WebSocketHandler wsHandler,
java.util.Map<java.lang.String,java.lang.Object> attributes) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractStandardUpgradeStrategy.upgrade(ServerHttpRequest request,
ServerHttpResponse response,
java.lang.String selectedProtocol,
java.util.List<WebSocketExtension> selectedExtensions,
java.security.Principal user,
WebSocketHandler wsHandler,
java.util.Map<java.lang.String,java.lang.Object> attrs) |
protected abstract void |
AbstractStandardUpgradeStrategy.upgradeInternal(ServerHttpRequest request,
ServerHttpResponse response,
java.lang.String selectedProtocol,
java.util.List<javax.websocket.Extension> selectedExtensions,
javax.websocket.Endpoint endpoint) |
void |
AbstractTyrusRequestUpgradeStrategy.upgradeInternal(ServerHttpRequest request,
ServerHttpResponse response,
java.lang.String selectedProtocol,
java.util.List<javax.websocket.Extension> extensions,
javax.websocket.Endpoint endpoint) |
void |
TomcatRequestUpgradeStrategy.upgradeInternal(ServerHttpRequest request,
ServerHttpResponse response,
java.lang.String selectedProtocol,
java.util.List<javax.websocket.Extension> selectedExtensions,
javax.websocket.Endpoint endpoint) |
protected void |
UndertowRequestUpgradeStrategy.upgradeInternal(ServerHttpRequest request,
ServerHttpResponse response,
java.lang.String selectedProtocol,
java.util.List<javax.websocket.Extension> selectedExtensions,
javax.websocket.Endpoint endpoint) |
void |
WebSphereRequestUpgradeStrategy.upgradeInternal(ServerHttpRequest httpRequest,
ServerHttpResponse httpResponse,
java.lang.String selectedProtocol,
java.util.List<javax.websocket.Extension> selectedExtensions,
javax.websocket.Endpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractHandshakeHandler.doHandshake(ServerHttpRequest request,
ServerHttpResponse response,
WebSocketHandler wsHandler,
java.util.Map<java.lang.String,java.lang.Object> attributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
WebSocketTransportHandler.doHandshake(ServerHttpRequest request,
ServerHttpResponse response,
WebSocketHandler handler,
java.util.Map<java.lang.String,java.lang.Object> attributes) |