| Package | Description |
|---|---|
| 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. |
| org.springframework.web.socket.sockjs.transport.session |
SockJS specific implementations of
WebSocketSession. |
| Modifier and Type | Class and Description |
|---|---|
class |
TransportHandlingSockJsService
A basic implementation of
SockJsService
with support for SPI-based transport handling and session management. |
| Modifier and Type | Method and Description |
|---|---|
void |
TransportHandler.initialize(SockJsServiceConfig serviceConfig)
Initialize this handler with the given configuration.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultSockJsService
A default implementation of
SockJsService
with all default TransportHandler implementations pre-registered. |
| Modifier and Type | Method and Description |
|---|---|
SockJsServiceConfig |
AbstractTransportHandler.getServiceConfig() |
protected SockJsServiceConfig |
SockJsWebSocketHandler.getSockJsConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTransportHandler.initialize(SockJsServiceConfig serviceConfig) |
| Constructor and Description |
|---|
SockJsWebSocketHandler(SockJsServiceConfig serviceConfig,
WebSocketHandler webSocketHandler,
WebSocketServerSockJsSession sockJsSession) |
| Modifier and Type | Method and Description |
|---|---|
SockJsServiceConfig |
AbstractSockJsSession.getSockJsServiceConfig() |
| Constructor and Description |
|---|
AbstractHttpSockJsSession(String id,
SockJsServiceConfig config,
WebSocketHandler wsHandler,
Map<String,Object> attributes) |
AbstractSockJsSession(String id,
SockJsServiceConfig config,
WebSocketHandler handler,
Map<String,Object> attributes)
Create a new instance.
|
PollingSockJsSession(String sessionId,
SockJsServiceConfig config,
WebSocketHandler wsHandler,
Map<String,Object> attributes) |
StreamingSockJsSession(String sessionId,
SockJsServiceConfig config,
WebSocketHandler wsHandler,
Map<String,Object> attributes) |
WebSocketServerSockJsSession(String id,
SockJsServiceConfig config,
WebSocketHandler handler,
Map<String,Object> attributes) |