インターフェースの使用
org.springframework.web.socket.sockjs.SockJsService
SockJsService を使用するパッケージ
パッケージ
説明
構成クラスでのアノテーションベースの WebSocket セットアップのサポート。
AbstractSockJsService
実装を含む SockJS のサポートクラス。 受信リクエストを処理するための
TransportHandler
実装、さまざまなトランスポートを介してメッセージを送信するための session
の実装、および DefaultSockJsService
を含む SockJS トランスポートのサーバー側サポート。TransportHandler
実装クラスおよび具体的な SockJsService
org.springframework.web.socket.config.annotation 内の SockJsService 使用
型 SockJsService のパラメーターを持つ org.springframework.web.socket.config.annotation のメソッド修飾子と型メソッド説明protected abstract void
AbstractWebSocketHandlerRegistration.addSockJsServiceMapping
(M mappings, SockJsService sockJsService, WebSocketHandler handler, StringSE pathPattern) protected void
ServletWebSocketHandlerRegistration.addSockJsServiceMapping
(MultiValueMap<HttpRequestHandler, StringSE> mappings, SockJsService sockJsService, WebSocketHandler handler, StringSE pathPattern) org.springframework.web.socket.sockjs.support 内の SockJsService 使用
修飾子と型クラス説明class
SockJS パス解決と静的 SockJS リクエスト ("/info","/iframe.html" など) の処理を提供するSockJsService
実装の抽象基本クラス。型 SockJsService のパラメーターを持つ org.springframework.web.socket.sockjs.support のコンストラクター修飾子コンストラクター説明SockJsHttpRequestHandler
(SockJsService sockJsService, WebSocketHandler webSocketHandler) 新しい SockJsHttpRequestHandler を作成します。org.springframework.web.socket.sockjs.transport 内の SockJsService 使用
org.springframework.web.socket.sockjs.transport.handler 内の SockJsService 使用