public final class EndpointRequest extends ObjectSE
RequestMatcher
を作成するために使用できるファクトリ。修飾子と型 | クラスと説明 |
---|---|
static class | EndpointRequest.EndpointRequestMatcher actuator endpoints と照合するために使用されるリクエストマッチャー。 |
static class | EndpointRequest.LinksRequestMatcher リンクエンドポイントとの照合に使用されるリクエストマッチャー。 |
修飾子と型 | メソッドと説明 |
---|---|
static EndpointRequest.EndpointRequestMatcher | to(ClassSE<?>... endpoints) 指定された actuator endpoints を含むマッチャーを返します。 |
static EndpointRequest.EndpointRequestMatcher | to(StringSE... endpoints) 指定された actuator endpoints を含むマッチャーを返します。 |
static EndpointRequest.EndpointRequestMatcher | toAnyEndpoint() すべての actuator endpoints を含むマッチャーを返します。 |
static EndpointRequest.LinksRequestMatcher | toLinks() リンクのエンドポイントでのみ一致するマッチャーを返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static EndpointRequest.EndpointRequestMatcher toAnyEndpoint()
actuator endpoints
を含むマッチャーを返します。また、アクチュエーターエンドポイントのベースパスにあるリンクエンドポイントも含まれます。excluding
メソッドを使用して、必要に応じて特定のエンドポイントをさらに削除できます。例:EndpointRequest.toAnyEndpoint().excluding(ShutdownEndpoint.class)
RequestMatcher
public static EndpointRequest.EndpointRequestMatcher to(ClassSE<?>... endpoints)
actuator endpoints
を含むマッチャーを返します。例:EndpointRequest.to(ShutdownEndpoint.class, HealthEndpoint.class)
endpoints
- 含めるエンドポイント RequestMatcher
public static EndpointRequest.EndpointRequestMatcher to(StringSE... endpoints)
actuator endpoints
を含むマッチャーを返します。例:EndpointRequest.to("shutdown", "health")
endpoints
- 含めるエンドポイント RequestMatcher
public static EndpointRequest.LinksRequestMatcher toLinks()
actuator endpoints
と異なる場合に使用できます。excludingLinks
メソッドをこれと組み合わせて使用して、リンクのエンドポイントを toAnyEndpoint
から削除できます。例:EndpointRequest.toLinks()
RequestMatcher