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