public final class EndpointRequest extends Object
ServerWebExchangeMatcher for actuator
endpoint locations.| Modifier and Type | Class and Description |
|---|---|
static class |
EndpointRequest.EndpointServerWebExchangeMatcher
The
ServerWebExchangeMatcher used to match against actuator
endpoints. |
| Modifier and Type | Method and Description |
|---|---|
static EndpointRequest.EndpointServerWebExchangeMatcher |
to(Class<?>... endpoints)
Returns a matcher that includes the specified
actuator endpoints. |
static EndpointRequest.EndpointServerWebExchangeMatcher |
to(String... endpoints)
Returns a matcher that includes the specified
actuator endpoints. |
static EndpointRequest.EndpointServerWebExchangeMatcher |
toAnyEndpoint()
Returns a matcher that includes all
actuator endpoints. |
public static EndpointRequest.EndpointServerWebExchangeMatcher toAnyEndpoint()
actuator endpoints. The
excluding method can
be used to further remove specific endpoints if required. For example:
EndpointRequest.toAnyEndpoint().excluding(ShutdownEndpoint.class)
ServerWebExchangeMatcherpublic static EndpointRequest.EndpointServerWebExchangeMatcher to(Class<?>... endpoints)
actuator endpoints.
For example: EndpointRequest.to(ShutdownEndpoint.class, HealthEndpoint.class)
endpoints - the endpoints to includeServerWebExchangeMatcherpublic static EndpointRequest.EndpointServerWebExchangeMatcher to(String... endpoints)
actuator endpoints.
For example:
EndpointRequest.to("shutdown", "health")
endpoints - the endpoints to includeServerWebExchangeMatcherCopyright © 2018 Pivotal Software, Inc.. All rights reserved.