@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(ApplicationContext applicationContext,
WebEndpointProperties properties) |
Modifier and Type | Method and Description |
---|---|
ControllerEndpointDiscoverer |
controllerEndpointDiscoverer(PathMapper webEndpointPathMapper,
ObjectProvider<Collection<EndpointFilter<ExposableControllerEndpoint>>> filters) |
ExposeExcludePropertyEndpointFilter<ExposableControllerEndpoint> |
controllerExposeExcludePropertyEndpointFilter() |
EndpointMediaTypes |
endpointMediaTypes() |
PathMappedEndpoints |
pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers,
WebEndpointProperties webEndpointProperties) |
WebEndpointDiscoverer |
webEndpointDiscoverer(ParameterValueMapper parameterValueMapper,
EndpointMediaTypes endpointMediaTypes,
PathMapper webEndpointPathMapper,
ObjectProvider<Collection<OperationInvokerAdvisor>> invokerAdvisors,
ObjectProvider<Collection<EndpointFilter<ExposableWebEndpoint>>> filters) |
PathMapper |
webEndpointPathMapper() |
ExposeExcludePropertyEndpointFilter<ExposableWebEndpoint> |
webExposeExcludePropertyEndpointFilter() |
public WebEndpointAutoConfiguration(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, ObjectProvider<Collection<OperationInvokerAdvisor>> invokerAdvisors, ObjectProvider<Collection<EndpointFilter<ExposableWebEndpoint>>> filters)
@Bean @ConditionalOnMissingBean(value=ControllerEndpointsSupplier.class) public ControllerEndpointDiscoverer controllerEndpointDiscoverer(PathMapper webEndpointPathMapper, 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.