インターフェース PayloadInterceptor
- すべての既知の実装クラス:
AnonymousPayloadInterceptor、AuthenticationPayloadInterceptor、AuthorizationPayloadInterceptor
public interface PayloadInterceptor
セキュリティ、タイムアウトなど、アプリケーションに依存しない横断的要件を実装するために使用できる、ペイロードのインターセプトスタイルの連鎖処理の契約。
- 導入:
- 5.2
方法の概要
修飾子と型メソッド説明reactor.core.publisher.Mono<VoidSE>intercept(PayloadExchange exchange, PayloadInterceptorChain chain) Web リクエストを処理し、(オプションで)指定されたPayloadInterceptorChainを介して次のPayloadInterceptorに委譲します。
方法の詳細
intercept
reactor.core.publisher.Mono<VoidSE> intercept(PayloadExchange exchange, PayloadInterceptorChain chain) Web リクエストを処理し、(オプションで)指定されたPayloadInterceptorChainを介して次のPayloadInterceptorに委譲します。- パラメーター:
exchange- 現在のペイロード交換chain- 次のインターセプターに委譲する方法を提供します- 戻り値:
- ペイロード処理がいつ完了したかを示す
Mono<Void>