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> |
AbstractXhrTransport.getTransportTypes() |
List<TransportType> |
Transport.getTransportTypes()
Return the SockJS transport types that this transport can be used for.
|
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 |
XhrPollingTransportHandler.getTransportType() |
TransportType |
XhrReceivingTransportHandler.getTransportType() |
TransportType |
HtmlFileTransportHandler.getTransportType() |
TransportType |
WebSocketTransportHandler.getTransportType() |
TransportType |
XhrStreamingTransportHandler.getTransportType() |
TransportType |
EventSourceTransportHandler.getTransportType() |