@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 @ConditionalOnMissingBean public PathMapper webEndpointPathMapper()
@Bean @ConditionalOnMissingBean public EndpointMediaTypes endpointMediaTypes()
@Bean @ConditionalOnMissingBean(value=WebEndpointsSupplier.class) public WebEndpointDiscoverer webEndpointDiscoverer(ParameterValueMapper parameterValueMapper, EndpointMediaTypes endpointMediaTypes, PathMapper webEndpointPathMapper, org.springframework.beans.factory.ObjectProvider<Collection<OperationInvokerAdvisor>> invokerAdvisors, org.springframework.beans.factory.ObjectProvider<Collection<EndpointFilter<ExposableWebEndpoint>>> filters)
@Bean @ConditionalOnMissingBean(value=ControllerEndpointsSupplier.class) public ControllerEndpointDiscoverer controllerEndpointDiscoverer(PathMapper webEndpointPathMapper, 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 © 2018 Pivotal Software, Inc.. All rights reserved.