| Package | Description |
|---|---|
| org.springframework.web.socket.sockjs.client |
SockJS client implementation of
WebSocketClient. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
XhrTransport
A SockJS
Transport that uses HTTP requests to simulate a WebSocket
interaction. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractXhrTransport
Abstract base class for XHR transport implementations to extend.
|
class |
JettyXhrTransport
An XHR transport based on Jetty's
HttpClient. |
class |
RestTemplateXhrTransport
An
XhrTransport implementation that uses a
RestTemplate. |
class |
UndertowXhrTransport
An XHR transport based on Undertow's
UndertowClient. |
| Modifier and Type | Method and Description |
|---|---|
InfoReceiver |
SockJsClient.getInfoReceiver()
Return the configured
InfoReceiver (never null). |
| Modifier and Type | Method and Description |
|---|---|
void |
SockJsClient.setInfoReceiver(InfoReceiver infoReceiver)
Configure the
InfoReceiver to use to perform the SockJS "Info"
request before the SockJS session starts. |