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 |
---|---|
java.util.List<TransportType> |
Transport.getTransportTypes()
Return the SockJS transport types that this transport can be used for.
|
java.util.List<TransportType> |
AbstractXhrTransport.getTransportTypes() |
java.util.List<TransportType> |
WebSocketTransport.getTransportTypes() |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
SockJsUrlInfo.getTransportUrl(TransportType transportType) |
Modifier and Type | Method and Description |
---|---|
static TransportType |
TransportType.fromValue(java.lang.String value) |
TransportType |
TransportHandler.getTransportType()
Return the transport type supported by this handler.
|
static TransportType |
TransportType.valueOf(java.lang.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 |
---|---|
java.util.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 |
EventSourceTransportHandler.getTransportType() |
TransportType |
HtmlFileTransportHandler.getTransportType() |
TransportType |
WebSocketTransportHandler.getTransportType() |
TransportType |
XhrStreamingTransportHandler.getTransportType() |