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