TransportHandlers typically also serve
as SockJS session factories.
| Modifier and Type | Method and Description |
|---|---|
| public SockJsSession | Returns: a new session, nevernullthe ID of the session sessionId, WebSocketHandler the underlying handler, Map<String, Object> WebSocketHandlerhandshake request specific attributes attributes)Create a new SockJS session. |
| createSession | back to summary |
|---|---|
| public SockJsSession createSession(String sessionId, WebSocketHandler handler, Map<String, Object> attributes) Create a new SockJS session.
| |