| Package | Description |
|---|---|
| org.springframework.web.socket.sockjs.client |
SockJS client implementation of
WebSocketClient. |
| org.springframework.web.socket.sockjs.transport |
Server-side support for SockJS transports including
TransportHandler implementations
for processing incoming requests, their
session
counterparts for sending messages over the various transports, and
DefaultSockJsService. |
| org.springframework.web.socket.sockjs.transport.handler |
TransportHandler
implementation classes as well as a concrete
SockJsService. |
| Modifier and Type | Method and Description |
|---|---|
List<TransportType> |
Transport.getTransportTypes()
Return the SockJS transport types that this transport can be used for.
|
List<TransportType> |
AbstractXhrTransport.getTransportTypes() |
List<TransportType> |
WebSocketTransport.getTransportTypes() |
| Modifier and Type | Method and Description |
|---|---|
URI |
SockJsUrlInfo.getTransportUrl(TransportType transportType) |
| Modifier and Type | Method and Description |
|---|---|
static TransportType |
TransportType.fromValue(String value) |
TransportType |
TransportHandler.getTransportType()
Return the transport type supported by this handler.
|
static TransportType |
TransportType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportType[] |
TransportType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Map<TransportType,TransportHandler> |
TransportHandlingSockJsService.getTransportHandlers()
Return the registered handlers per transport type.
|
| Modifier and Type | Method and Description |
|---|---|
TransportType |
EventSourceTransportHandler.getTransportType() |
TransportType |
XhrPollingTransportHandler.getTransportType() |
TransportType |
WebSocketTransportHandler.getTransportType() |
TransportType |
HtmlFileTransportHandler.getTransportType() |
TransportType |
XhrStreamingTransportHandler.getTransportType() |
TransportType |
XhrReceivingTransportHandler.getTransportType() |