クラス EndpointRequest
java.lang.ObjectSE
org.springframework.boot.actuate.autoconfigure.security.reactive.EndpointRequest
アクチュエーターのエンドポイント位置の
ServerWebExchangeMatcher を作成するために使用できるファクトリ。- 導入:
- 2.0.0
- 作成者:
- Madhura Bhave
Nested Class Summary
ネストされたクラス修飾子と型クラス説明static final classServerWebExchangeMatcherはactuator endpointsと照合するために使用されていました。static final classリンクエンドポイントとの照合に使用されるServerWebExchangeMatcher。方法の概要
修飾子と型メソッド説明指定されたactuator endpointsを含むマッチャーを返します。指定されたactuator endpointsを含むマッチャーを返します。すべてのactuator endpointsを含むマッチャーを返します。toLinks()リンクのエンドポイントでのみ一致するマッチャーを返します。
メソッドの詳細
toAnyEndpoint
すべてのactuator endpointsを含むマッチャーを返します。また、アクチュエーターエンドポイントのベースパスにあるリンクエンドポイントも含まれます。excludingメソッドを使用して、必要に応じて特定のエンドポイントをさらに削除できます。例:EndpointRequest.toAnyEndpoint().excluding(ShutdownEndpoint.class)
- 戻り値:
- 設定された
ServerWebExchangeMatcher
to
指定されたactuator endpointsを含むマッチャーを返します。例:EndpointRequest.to(ShutdownEndpoint.class, HealthEndpoint.class)
- パラメーター:
endpoints- 含めるエンドポイント- 戻り値:
- 設定された
ServerWebExchangeMatcher
to
指定されたactuator endpointsを含むマッチャーを返します。例:EndpointRequest.to("shutdown", "health")- パラメーター:
endpoints- 含めるエンドポイント- 戻り値:
- 設定された
ServerWebExchangeMatcher
toLinks
リンクのエンドポイントでのみ一致するマッチャーを返します。リンクエンドポイントのセキュリティ構成が他のactuator endpointsと異なる場合に使用できます。excludingLinksメソッドをこれと組み合わせて使用して、リンクのエンドポイントをtoAnyEndpointから削除できます。例:EndpointRequest.toLinks()
- 戻り値:
- 設定された
ServerWebExchangeMatcher