インターフェースの使用
org.springframework.web.reactive.socket.server.WebSocketService
org.springframework.web.reactive.config 内の WebSocketService 使用
修飾子と型メソッド説明protected WebSocketService
DelegatingWebFluxConfiguration.getWebSocketService()
protected WebSocketService
WebFluxConfigurationSupport.getWebSocketService()
default WebSocketService
WebFluxConfigurer.getWebSocketService()
WebSocketHandlerAdapter
を作成するためのWebSocketService
を提供します。WebFluxConfigurerComposite.getWebSocketService()
org.springframework.web.reactive.socket.server.support 内の WebSocketService 使用
修飾子と型クラス説明class
クラスパスから自動検出(引数なしのコンストラクター)されているRequestUpgradeStrategy
に委譲することにより WebSocket HTTP ハンドシェイクリクエストを処理するWebSocketService
実装。明示的に構成することもできます。修飾子と型メソッド説明WebSocketHandlerAdapter.getWebSocketService()
リクエストを処理するために構成済みのWebSocketService
を返します。修飾子コンストラクター説明WebSocketHandlerAdapter
(WebSocketService webSocketService) WebSocketService
を使用する代替コンストラクター。