Class CloudFoundryWebEndpointDiscoverer
- java.lang.Object
- org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<org.springframework.boot.actuate.endpoint.web.ExposableWebEndpoint,org.springframework.boot.actuate.endpoint.web.WebOperation>
- org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer
- org.springframework.boot.actuate.autoconfigure.cloudfoundry.CloudFoundryWebEndpointDiscoverer
- All Implemented Interfaces:
org.springframework.boot.actuate.endpoint.EndpointsSupplier<org.springframework.boot.actuate.endpoint.web.ExposableWebEndpoint>
,org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier
public class CloudFoundryWebEndpointDiscoverer extends org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer
WebEndpointDiscoverer
for Cloud Foundry that uses Cloud Foundry specific extensions for theHealthEndpoint
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description CloudFoundryWebEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.endpoint.invoke.ParameterValueMapper parameterValueMapper, org.springframework.boot.actuate.endpoint.web.EndpointMediaTypes endpointMediaTypes, List<org.springframework.boot.actuate.endpoint.web.PathMapper> endpointPathMappers, Collection<org.springframework.boot.actuate.endpoint.invoke.OperationInvokerAdvisor> invokerAdvisors, Collection<org.springframework.boot.actuate.endpoint.EndpointFilter<org.springframework.boot.actuate.endpoint.web.ExposableWebEndpoint>> filters)
Create a newWebEndpointDiscoverer
instance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isExtensionExposed(Object extensionBean)
Methods inherited from class org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer
createEndpoint, createOperation, createOperationKey
Methods inherited from class org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer
getEndpoints, getEndpointType, isEndpointExposed
Constructor Detail
CloudFoundryWebEndpointDiscoverer
public CloudFoundryWebEndpointDiscoverer(org.springframework.context.ApplicationContext applicationContext, org.springframework.boot.actuate.endpoint.invoke.ParameterValueMapper parameterValueMapper, org.springframework.boot.actuate.endpoint.web.EndpointMediaTypes endpointMediaTypes, List<org.springframework.boot.actuate.endpoint.web.PathMapper> endpointPathMappers, Collection<org.springframework.boot.actuate.endpoint.invoke.OperationInvokerAdvisor> invokerAdvisors, Collection<org.springframework.boot.actuate.endpoint.EndpointFilter<org.springframework.boot.actuate.endpoint.web.ExposableWebEndpoint>> filters)
Create a newWebEndpointDiscoverer
instance.- Parameters:
applicationContext
- the source application contextparameterValueMapper
- the parameter value mapperendpointMediaTypes
- the endpoint media typesendpointPathMappers
- the endpoint path mappersinvokerAdvisors
- invoker advisors to applyfilters
- filters to apply
Method Detail
isExtensionExposed
protected boolean isExtensionExposed(Object extensionBean)
- Overrides:
isExtensionExposed
in classorg.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<org.springframework.boot.actuate.endpoint.web.ExposableWebEndpoint,org.springframework.boot.actuate.endpoint.web.WebOperation>