@Configuration @ConditionalOnWebApplication @AutoConfigureAfter(value=EndpointAutoConfiguration.class) @EnableConfigurationProperties(value=WebEndpointProperties.class) public class WebEndpointAutoConfiguration extends Object
Auto-configuration
for web Endpoint
support.Constructor and Description |
---|
WebEndpointAutoConfiguration(org.springframework.context.ApplicationContext applicationContext,
WebEndpointProperties properties) |
public WebEndpointAutoConfiguration(org.springframework.context.ApplicationContext applicationContext, WebEndpointProperties properties)
@Bean public PathMapper webEndpointPathMapper()
@Bean @ConditionalOnMissingBean public EndpointMediaTypes endpointMediaTypes()
@Bean @ConditionalOnMissingBean(value=WebEndpointsSupplier.class) public WebEndpointDiscoverer webEndpointDiscoverer(ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, org.springframework.beans.factory.ObjectProvider<PathMapper> endpointPathMappers, org.springframework.beans.factory.ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, org.springframework.beans.factory.ObjectProvider<EndpointFilter<ExposableWebEndpoint>> filters)
@Bean @ConditionalOnMissingBean(value=ControllerEndpointsSupplier.class) public ControllerEndpointDiscoverer controllerEndpointDiscoverer(org.springframework.beans.factory.ObjectProvider<PathMapper> endpointPathMappers, org.springframework.beans.factory.ObjectProvider<Collection<EndpointFilter<ExposableControllerEndpoint>>> filters)
@Bean @ConditionalOnMissingBean public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers, WebEndpointProperties webEndpointProperties)
@Bean public ExposeExcludePropertyEndpointFilter<ExposableWebEndpoint> webExposeExcludePropertyEndpointFilter()
@Bean public ExposeExcludePropertyEndpointFilter<ExposableControllerEndpoint> controllerExposeExcludePropertyEndpointFilter()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.