Package | Description |
---|---|
org.springframework.web.socket.config.annotation |
Support for annotation-based WebSocket setup in configuration classes.
|
org.springframework.web.socket.sockjs.support |
Support classes for SockJS including an
AbstractSockJsService
implementation. |
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 |
---|---|
protected SockJsService |
SockJsServiceRegistration.getSockJsService() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractWebSocketHandlerRegistration.addSockJsServiceMapping(M mappings,
SockJsService sockJsService,
WebSocketHandler handler,
java.lang.String pathPattern) |
protected void |
ServletWebSocketHandlerRegistration.addSockJsServiceMapping(MultiValueMap<HttpRequestHandler,java.lang.String> mappings,
SockJsService sockJsService,
WebSocketHandler handler,
java.lang.String pathPattern) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSockJsService
An abstract base class for
SockJsService implementations that provides SockJS
path resolution and handling of static SockJS requests (e.g. |
Modifier and Type | Method and Description |
---|---|
SockJsService |
SockJsHttpRequestHandler.getSockJsService()
Return the
SockJsService . |
Constructor and Description |
---|
SockJsHttpRequestHandler(SockJsService sockJsService,
WebSocketHandler webSocketHandler)
Create a new SockJsHttpRequestHandler.
|
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 | Class and Description |
---|---|
class |
DefaultSockJsService
A default implementation of
SockJsService
with all default TransportHandler implementations pre-registered. |