T
- The operation typepublic class ExposeExcludePropertyEndpointFilter<T extends Operation> extends Object implements EndpointFilter<T>
Constructor and Description |
---|
ExposeExcludePropertyEndpointFilter(Class<? extends EndpointDiscoverer<T>> discovererType,
Collection<String> expose,
Collection<String> exclude,
String... exposeDefaults) |
ExposeExcludePropertyEndpointFilter(Class<? extends EndpointDiscoverer<T>> discovererType,
org.springframework.core.env.Environment environment,
String prefix,
String... exposeDefaults) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(EndpointInfo<T> info,
EndpointDiscoverer<T> discoverer)
Return
true if the filter matches. |
public ExposeExcludePropertyEndpointFilter(Class<? extends EndpointDiscoverer<T>> discovererType, org.springframework.core.env.Environment environment, String prefix, String... exposeDefaults)
public ExposeExcludePropertyEndpointFilter(Class<? extends EndpointDiscoverer<T>> discovererType, Collection<String> expose, Collection<String> exclude, String... exposeDefaults)
public boolean match(EndpointInfo<T> info, EndpointDiscoverer<T> discoverer)
EndpointFilter
true
if the filter matches.match
in interface EndpointFilter<T extends Operation>
info
- the endpoint infodiscoverer
- the endpoint discoverertrue
if the filter matchesCopyright © 2017 Pivotal Software, Inc.. All rights reserved.