Package | Description |
---|---|
org.springframework.web.socket.adapter |
Classes adapting Spring's WebSocket API to and from WebSocket providers.
|
org.springframework.web.socket.adapter.jetty |
Adapter classes for the Jetty WebSocket API.
|
org.springframework.web.socket.adapter.standard |
Adapter classes for the standard Java WebSocket API.
|
org.springframework.web.socket.handler |
Convenient
WebSocketHandler
implementations and decorators. |
org.springframework.web.socket.sockjs.client |
SockJS client implementation of
WebSocketClient . |
org.springframework.web.socket.sockjs.transport.handler |
TransportHandler
implementation classes as well as a concrete
SockJsService . |
org.springframework.web.socket.sockjs.transport.session |
SockJS specific implementations of
WebSocketSession . |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractWebSocketSession.sendTextMessage(TextMessage message) |
Modifier and Type | Method and Description |
---|---|
protected void |
JettyWebSocketSession.sendTextMessage(TextMessage message) |
Modifier and Type | Method and Description |
---|---|
protected void |
StandardWebSocketSession.sendTextMessage(TextMessage message) |
Modifier and Type | Method and Description |
---|---|
protected void |
BinaryWebSocketHandler.handleTextMessage(WebSocketSession session,
TextMessage message) |
protected void |
AbstractWebSocketHandler.handleTextMessage(WebSocketSession session,
TextMessage message) |
Modifier and Type | Method and Description |
---|---|
void |
XhrTransport.executeSendRequest(URI transportUrl,
HttpHeaders headers,
TextMessage message)
Execute a request to send the message to the server.
|
void |
AbstractXhrTransport.executeSendRequest(URI url,
HttpHeaders headers,
TextMessage message) |
ResponseEntity<String> |
RestTemplateXhrTransport.executeSendRequestInternal(URI url,
HttpHeaders headers,
TextMessage message) |
ResponseEntity<String> |
JettyXhrTransport.executeSendRequestInternal(URI url,
HttpHeaders headers,
TextMessage message) |
protected abstract ResponseEntity<String> |
AbstractXhrTransport.executeSendRequestInternal(URI url,
HttpHeaders headers,
TextMessage message) |
protected ResponseEntity<String> |
UndertowXhrTransport.executeSendRequestInternal(URI url,
HttpHeaders headers,
TextMessage message) |
protected void |
WebSocketClientSockJsSession.sendInternal(TextMessage textMessage) |
protected abstract void |
AbstractClientSockJsSession.sendInternal(TextMessage textMessage) |
protected void |
XhrClientSockJsSession.sendInternal(TextMessage message) |
Modifier and Type | Method and Description |
---|---|
void |
SockJsWebSocketHandler.handleTextMessage(WebSocketSession wsSession,
TextMessage message) |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketServerSockJsSession.handleMessage(TextMessage message,
WebSocketSession wsSession) |