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