Class WebEndpointAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEndpointAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnWebApplication
@AutoConfigureAfter(EndpointAutoConfiguration.class)
@EnableConfigurationProperties(WebEndpointProperties.class)
public class WebEndpointAutoConfiguration
extends Object
Auto-configuration
for web @Endpoint
support.- Since:
- 2.0.0
- Author:
- Phillip Webb, Stephane Nicoll
-
Constructor Summary
ConstructorDescriptionWebEndpointAutoConfiguration
(ApplicationContext applicationContext, WebEndpointProperties properties) -
Method Summary
Modifier and TypeMethodDescriptioncontrollerEndpointDiscoverer
(ObjectProvider<PathMapper> endpointPathMappers, ObjectProvider<Collection<EndpointFilter<ExposableControllerEndpoint>>> filters) pathMappedEndpoints
(Collection<EndpointsSupplier<?>> endpointSuppliers) webEndpointDiscoverer
(ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, ObjectProvider<PathMapper> endpointPathMappers, ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, ObjectProvider<EndpointFilter<ExposableWebEndpoint>> filters)
-
Constructor Details
-
WebEndpointAutoConfiguration
public WebEndpointAutoConfiguration(ApplicationContext applicationContext, WebEndpointProperties properties)
-
-
Method Details
-
webEndpointPathMapper
-
endpointMediaTypes
-
webEndpointDiscoverer
@Bean @ConditionalOnMissingBean(WebEndpointsSupplier.class) public WebEndpointDiscoverer webEndpointDiscoverer(ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, ObjectProvider<PathMapper> endpointPathMappers, ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, ObjectProvider<EndpointFilter<ExposableWebEndpoint>> filters) -
controllerEndpointDiscoverer
@Bean @ConditionalOnMissingBean(ControllerEndpointsSupplier.class) public ControllerEndpointDiscoverer controllerEndpointDiscoverer(ObjectProvider<PathMapper> endpointPathMappers, ObjectProvider<Collection<EndpointFilter<ExposableControllerEndpoint>>> filters) -
pathMappedEndpoints
@Bean @ConditionalOnMissingBean public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers) -
webExposeExcludePropertyEndpointFilter
@Bean public IncludeExcludeEndpointFilter<ExposableWebEndpoint> webExposeExcludePropertyEndpointFilter() -
controllerExposeExcludePropertyEndpointFilter
@Bean public IncludeExcludeEndpointFilter<ExposableControllerEndpoint> controllerExposeExcludePropertyEndpointFilter()
-