public interface SockJsSessionFactory
TransportHandlers
は通常、SockJS セッションファクトリとしても機能します。修飾子と型 | メソッドと説明 |
---|---|
SockJsSession | createSession(StringSE sessionId, WebSocketHandler handler, MapSE<StringSE, ObjectSE> attributes) 新しい SockJS セッションを作成します。 |
SockJsSession createSession(StringSE sessionId, WebSocketHandler handler, MapSE<StringSE,ObjectSE> attributes)
sessionId
- セッションの IDhandler
- 基礎となる WebSocketHandler
attributes
- ハンドシェイクリクエスト固有の属性 null