public static final class EndpointRequest.EndpointServerWebExchangeMatcher extends ApplicationContextServerWebExchangeMatcher<T>
ServerWebExchangeMatcher
used to match against actuator
endpoints
.ServerWebExchangeMatcher.MatchResult
Modifier and Type | Method and Description |
---|---|
EndpointRequest.EndpointServerWebExchangeMatcher |
excluding(Class<?>... endpoints) |
EndpointRequest.EndpointServerWebExchangeMatcher |
excluding(String... endpoints) |
EndpointRequest.EndpointServerWebExchangeMatcher |
excludingLinks() |
protected void |
initialized(Supplier<PathMappedEndpoints> pathMappedEndpoints)
Called once the context has been initialized.
|
protected reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> |
matches(ServerWebExchange exchange,
Supplier<PathMappedEndpoints> context)
Decides whether the rule implemented by the strategy matches the supplied exchange.
|
String |
toString() |
getContext, matches
public EndpointRequest.EndpointServerWebExchangeMatcher excluding(Class<?>... endpoints)
public EndpointRequest.EndpointServerWebExchangeMatcher excluding(String... endpoints)
public EndpointRequest.EndpointServerWebExchangeMatcher excludingLinks()
protected void initialized(Supplier<PathMappedEndpoints> pathMappedEndpoints)
ApplicationContextServerWebExchangeMatcher
initialized
in class ApplicationContextServerWebExchangeMatcher<PathMappedEndpoints>
pathMappedEndpoints
- a supplier for the initialized context (may throw an exception)protected reactor.core.publisher.Mono<ServerWebExchangeMatcher.MatchResult> matches(ServerWebExchange exchange, Supplier<PathMappedEndpoints> context)
ApplicationContextServerWebExchangeMatcher
matches
in class ApplicationContextServerWebExchangeMatcher<PathMappedEndpoints>
exchange
- the source exchangecontext
- a supplier for the initialized context (may throw an exception)