Package | Description |
---|---|
org.springframework.web.socket |
Common abstractions and Spring configuration support for WebSocket applications.
|
org.springframework.web.socket.client |
Client-side abstractions for WebSocket applications.
|
org.springframework.web.socket.messaging |
WebSocket integration for Spring's messaging module.
|
org.springframework.web.socket.server.support |
Server-side support classes including container-specific strategies
for upgrading a request.
|
org.springframework.web.socket.sockjs.client |
SockJS client implementation of
WebSocketClient . |
Modifier and Type | Method and Description |
---|---|
static WebSocketHttpHeaders |
WebSocketHttpHeaders.readOnlyWebSocketHttpHeaders(WebSocketHttpHeaders headers)
Returns
WebSocketHttpHeaders object that can only be read, not written to. |
Modifier and Type | Method and Description |
---|---|
static WebSocketHttpHeaders |
WebSocketHttpHeaders.readOnlyWebSocketHttpHeaders(WebSocketHttpHeaders headers)
Returns
WebSocketHttpHeaders object that can only be read, not written to. |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<WebSocketSession> |
WebSocketClient.doHandshake(WebSocketHandler webSocketHandler,
WebSocketHttpHeaders headers,
java.net.URI uri) |
ListenableFuture<WebSocketSession> |
AbstractWebSocketClient.doHandshake(WebSocketHandler webSocketHandler,
WebSocketHttpHeaders headers,
java.net.URI uri) |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<StompSession> |
WebSocketStompClient.connect(java.lang.String url,
WebSocketHttpHeaders handshakeHeaders,
StompHeaders connectHeaders,
StompSessionHandler handler,
java.lang.Object... uriVariables)
An overloaded version of
WebSocketStompClient.connect(String, StompSessionHandler, Object...) that also accepts
WebSocketHttpHeaders to use for the WebSocket handshake and
StompHeaders for the STOMP CONNECT frame. |
ListenableFuture<StompSession> |
WebSocketStompClient.connect(java.lang.String url,
WebSocketHttpHeaders handshakeHeaders,
StompSessionHandler handler,
java.lang.Object... uriVariables)
An overloaded version of
WebSocketStompClient.connect(String, StompSessionHandler, Object...) that also
accepts WebSocketHttpHeaders to use for the WebSocket handshake. |
ListenableFuture<StompSession> |
WebSocketStompClient.connect(java.net.URI url,
WebSocketHttpHeaders handshakeHeaders,
StompHeaders connectHeaders,
StompSessionHandler sessionHandler)
An overloaded version of
WebSocketStompClient.connect(String, WebSocketHttpHeaders, StompSessionHandler, Object...)
that accepts a fully prepared URI . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractHandshakeHandler.isWebSocketVersionSupported(WebSocketHttpHeaders httpHeaders) |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<WebSocketSession> |
SockJsClient.doHandshake(WebSocketHandler handler,
WebSocketHttpHeaders headers,
java.net.URI url) |