| 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 | 
|---|---|
ListenableFuture<WebSocketSession> | 
WebSocketClient.doHandshake(WebSocketHandler webSocketHandler,
           WebSocketHttpHeaders headers,
           URI uri)  | 
ListenableFuture<WebSocketSession> | 
AbstractWebSocketClient.doHandshake(WebSocketHandler webSocketHandler,
           WebSocketHttpHeaders headers,
           URI 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,
           URI url)  |