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)
Deprecated.
as of 5.1.16, in favor of calling
WebSocketHttpHeaders(HttpHeaders)
with a read-only wrapper from HttpHeaders.readOnlyHttpHeaders(HttpHeaders) |
Modifier and Type | Method and Description |
---|---|
static WebSocketHttpHeaders |
WebSocketHttpHeaders.readOnlyWebSocketHttpHeaders(WebSocketHttpHeaders headers)
Deprecated.
as of 5.1.16, in favor of calling
WebSocketHttpHeaders(HttpHeaders)
with a read-only wrapper from HttpHeaders.readOnlyHttpHeaders(HttpHeaders) |
Modifier and Type | Method and Description |
---|---|
org.springframework.util.concurrent.ListenableFuture<WebSocketSession> |
WebSocketClient.doHandshake(WebSocketHandler webSocketHandler,
WebSocketHttpHeaders headers,
URI uri) |
org.springframework.util.concurrent.ListenableFuture<WebSocketSession> |
AbstractWebSocketClient.doHandshake(WebSocketHandler webSocketHandler,
WebSocketHttpHeaders headers,
URI uri) |
Modifier and Type | Method and Description |
---|---|
org.springframework.util.concurrent.ListenableFuture<org.springframework.messaging.simp.stomp.StompSession> |
WebSocketStompClient.connect(String url,
WebSocketHttpHeaders handshakeHeaders,
org.springframework.messaging.simp.stomp.StompHeaders connectHeaders,
org.springframework.messaging.simp.stomp.StompSessionHandler handler,
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. |
org.springframework.util.concurrent.ListenableFuture<org.springframework.messaging.simp.stomp.StompSession> |
WebSocketStompClient.connect(String url,
WebSocketHttpHeaders handshakeHeaders,
org.springframework.messaging.simp.stomp.StompSessionHandler handler,
Object... uriVariables)
An overloaded version of
WebSocketStompClient.connect(String, StompSessionHandler, Object...) that also
accepts WebSocketHttpHeaders to use for the WebSocket handshake. |
org.springframework.util.concurrent.ListenableFuture<org.springframework.messaging.simp.stomp.StompSession> |
WebSocketStompClient.connect(URI url,
WebSocketHttpHeaders handshakeHeaders,
org.springframework.messaging.simp.stomp.StompHeaders connectHeaders,
org.springframework.messaging.simp.stomp.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 |
---|---|
org.springframework.util.concurrent.ListenableFuture<WebSocketSession> |
SockJsClient.doHandshake(WebSocketHandler handler,
WebSocketHttpHeaders headers,
URI url) |