Class CloudFoundryWebEndpointDiscoverer
java.lang.Object
org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<ExposableWebEndpoint,WebOperation>
org.springframework.boot.actuate.endpoint.web.annotation.WebEndpointDiscoverer
org.springframework.boot.actuate.autoconfigure.cloudfoundry.CloudFoundryWebEndpointDiscoverer
- All Implemented Interfaces:
EndpointsSupplier<ExposableWebEndpoint>
,WebEndpointsSupplier
@ImportRuntimeHints(org.springframework.boot.actuate.autoconfigure.cloudfoundry.CloudFoundryWebEndpointDiscoverer.CloudFoundryWebEndpointDiscovererRuntimeHints.class)
public class CloudFoundryWebEndpointDiscoverer
extends WebEndpointDiscoverer
WebEndpointDiscoverer
for Cloud Foundry that uses Cloud Foundry specific
extensions for the HealthEndpoint
.- Since:
- 2.0.0
- Author:
- Madhura Bhave
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer
EndpointDiscoverer.OperationKey
-
Constructor Summary
ConstructorDescriptionCloudFoundryWebEndpointDiscoverer
(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> endpointFilters) Deprecated, for removal: This API element is subject to removal in a future version.CloudFoundryWebEndpointDiscoverer
(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> endpointFilters, Collection<OperationFilter<WebOperation>> operationFilters) Create a newWebEndpointDiscoverer
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isExtensionTypeExposed
(Class<?> extensionBeanType) Determine if an extension bean should be exposed.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
createEndpoint, getEndpoints, getEndpointType, isEndpointTypeExposed, isInvocable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.boot.actuate.endpoint.EndpointsSupplier
getEndpoints
-
Constructor Details
-
CloudFoundryWebEndpointDiscoverer
@Deprecated(since="3.4.0", forRemoval=true) public CloudFoundryWebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> endpointFilters) Deprecated, for removal: This API element is subject to removal in a future version.since 3.4.0 for removal in 3.6.0 in favor ofCloudFoundryWebEndpointDiscoverer(ApplicationContext, ParameterValueMapper, EndpointMediaTypes, List, Collection, Collection, Collection)
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 applyendpointFilters
- endpoint filters to apply
-
CloudFoundryWebEndpointDiscoverer
public CloudFoundryWebEndpointDiscoverer(ApplicationContext applicationContext, ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, List<PathMapper> endpointPathMappers, Collection<OperationInvokerAdvisor> invokerAdvisors, Collection<EndpointFilter<ExposableWebEndpoint>> endpointFilters, Collection<OperationFilter<WebOperation>> operationFilters) 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 applyendpointFilters
- endpoint filters to applyoperationFilters
- operation filters to apply- Since:
- 3.4.0
-
-
Method Details
-
isExtensionTypeExposed
Description copied from class:EndpointDiscoverer
Determine if an extension bean should be exposed. Subclasses can override this method to provide additional logic.- Overrides:
isExtensionTypeExposed
in classEndpointDiscoverer<ExposableWebEndpoint,
WebOperation> - Parameters:
extensionBeanType
- the extension bean type- Returns:
true
if the extension is exposed
-
CloudFoundryWebEndpointDiscoverer(ApplicationContext, ParameterValueMapper, EndpointMediaTypes, List, Collection, Collection, Collection)