インターフェースの使用
org.springframework.http.server.reactive.HttpHandler
HttpHandler を使用するパッケージ
パッケージ
説明
WebTestClient を介した Spring WebFlux サーバーエンドポイントのテストのサポート。Spring のリアクティブ環境用の関数 Web フレームワークを構成する型を提供します。
基礎となる
org.springframework.http.client.reactive リアクティブ HTTP アダプターと HttpHandler に適応する実装。org.springframework.http.server.reactive 内の HttpHandler 使用
HttpHandler を実装している org.springframework.http.server.reactive のクラス修飾子と型クラス説明classHttpHandlerは、単純なプレフィックスベースのマッピングに基づいて、いくつかのHttpHandlerのいずれかにリクエストを委譲します。型 HttpHandler のパラメーターを持つ org.springframework.http.server.reactive のコンストラクター修飾子コンストラクター説明JettyHttpHandlerAdapter(HttpHandler httpHandler) ReactorHttpHandlerAdapter(HttpHandler httpHandler) ReactorNetty2HttpHandlerAdapter(HttpHandler httpHandler) ServletHttpHandlerAdapter(HttpHandler httpHandler) TomcatHttpHandlerAdapter(HttpHandler httpHandler) UndertowHttpHandlerAdapter(HttpHandler httpHandler) 型の型引数を持つ org.springframework.http.server.reactive のコンストラクターパラメーター HttpHandlerorg.springframework.test.web.reactive.server 内の HttpHandler 使用
型 HttpHandler のパラメーターを持つ org.springframework.test.web.reactive.server のコンストラクターorg.springframework.web.reactive.function.server 内の HttpHandler 使用
修飾子と型メソッド説明static HttpHandlerRouterFunctions.toHttpHandler(RouterFunction<?> routerFunction) 指定されたルーター関数をHttpHandlerに変換します。static HttpHandlerRouterFunctions.toHttpHandler(RouterFunction<?> routerFunction, HandlerStrategies strategies) 指定された戦略を使用して、指定されたルーター関数をHttpHandlerに変換します。org.springframework.web.server.adapter 内の HttpHandler 使用
HttpHandler を実装している org.springframework.web.server.adapter のクラス型 HttpHandler の型引数を持つ org.springframework.web.server.adapter のメソッドパラメーター修飾子と型メソッド説明WebHttpHandlerBuilder.httpHandlerDecorator(FunctionSE<HttpHandler, HttpHandler> handlerDecorator) チェーンを処理するWebExceptionHandler-WebFilter-WebHandler全体を効果的にラップするこのビルダーによって返されるHttpHandlerを装飾するようにFunctionSE を構成します。WebHttpHandlerBuilder.httpHandlerDecorator(FunctionSE<HttpHandler, HttpHandler> handlerDecorator) チェーンを処理するWebExceptionHandler-WebFilter-WebHandler全体を効果的にラップするこのビルダーによって返されるHttpHandlerを装飾するようにFunctionSE を構成します。