public static final class EndpointRequest.EndpointRequestMatcher extends ApplicationContextRequestMatcher<PathMappedEndpoints>
actuator endpoints
.Modifier and Type | Method and Description |
---|---|
EndpointRequest.EndpointRequestMatcher |
excluding(Class<?>... endpoints) |
EndpointRequest.EndpointRequestMatcher |
excluding(String... endpoints) |
EndpointRequest.EndpointRequestMatcher |
excludingLinks() |
protected void |
initialized(Supplier<PathMappedEndpoints> pathMappedEndpoints)
Called once the context has been initialized.
|
protected boolean |
matches(HttpServletRequest request,
Supplier<PathMappedEndpoints> context)
Decides whether the rule implemented by the strategy matches the supplied request.
|
matches
public EndpointRequest.EndpointRequestMatcher excluding(Class<?>... endpoints)
public EndpointRequest.EndpointRequestMatcher excluding(String... endpoints)
public EndpointRequest.EndpointRequestMatcher excludingLinks()
protected void initialized(Supplier<PathMappedEndpoints> pathMappedEndpoints)
ApplicationContextRequestMatcher
initialized
in class ApplicationContextRequestMatcher<PathMappedEndpoints>
pathMappedEndpoints
- a supplier for the initialized context (may throw an exception)protected boolean matches(HttpServletRequest request, Supplier<PathMappedEndpoints> context)
ApplicationContextRequestMatcher
matches
in class ApplicationContextRequestMatcher<PathMappedEndpoints>
request
- the source requestcontext
- a supplier for the initialized context (may throw an exception)Copyright © 2018 Pivotal Software, Inc.. All rights reserved.