Class 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 the HealthEndpoint.
    Since:
    2.0.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer

        org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer.OperationKey
    • Constructor Summary

      Constructors 
      ConstructorDescription
      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 new WebEndpointDiscoverer instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      protected booleanisExtensionExposed​(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
      • Methods inherited from interface org.springframework.boot.actuate.endpoint.EndpointsSupplier

        getEndpoints
    • 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 new WebEndpointDiscoverer instance.
        Parameters:
        applicationContext - the source application context
        parameterValueMapper - the parameter value mapper
        endpointMediaTypes - the endpoint media types
        endpointPathMappers - the endpoint path mappers
        invokerAdvisors - invoker advisors to apply
        filters - filters to apply
    • Method Detail

      • isExtensionExposed

        protected boolean isExtensionExposed​(Object extensionBean)
        Overrides:
        isExtensionExposed in class org.springframework.boot.actuate.endpoint.annotation.EndpointDiscoverer<org.springframework.boot.actuate.endpoint.web.ExposableWebEndpoint,​org.springframework.boot.actuate.endpoint.web.WebOperation>