public interface SockJsSessionFactory
TransportHandlers
typically also serve
as SockJS session factories.Modifier and Type | Method and Description |
---|---|
SockJsSession |
createSession(String sessionId,
WebSocketHandler handler,
Map<String,Object> attributes)
Create a new SockJS session.
|
SockJsSession createSession(String sessionId, WebSocketHandler handler, Map<String,Object> attributes)
sessionId
- the ID of the sessionhandler
- the underlying WebSocketHandler
attributes
- handshake request specific attributesnull