S - The type of session being createdpublic interface SockJsSessionFactory
TransportHandlers typically also serve
as SockJS session factories.| Modifier and Type | Method and Description |
|---|---|
AbstractSockJsSession |
createSession(java.lang.String sessionId,
WebSocketHandler webSocketHandler)
Create a new SockJS session.
|
AbstractSockJsSession createSession(java.lang.String sessionId, WebSocketHandler webSocketHandler)
sessionId - the ID of the sessionwebSocketHandler - the underlying WebSocketHandler