@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(ObjectProvider<PathMapper> endpointPathMappers,
ObjectProvider<Collection<EndpointFilter<ExposableControllerEndpoint>>> filters) |
ExposeExcludePropertyEndpointFilter<ExposableControllerEndpoint> |
controllerExposeExcludePropertyEndpointFilter() |
EndpointMediaTypes |
endpointMediaTypes() |
PathMappedEndpoints |
pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers,
WebEndpointProperties webEndpointProperties) |
WebEndpointDiscoverer |
webEndpointDiscoverer(ParameterValueMapper parameterValueMapper,
EndpointMediaTypes endpointMediaTypes,
ObjectProvider<PathMapper> endpointPathMappers,
ObjectProvider<OperationInvokerAdvisor> invokerAdvisors,
ObjectProvider<EndpointFilter<ExposableWebEndpoint>> filters) |
PathMapper |
webEndpointPathMapper() |
ExposeExcludePropertyEndpointFilter<ExposableWebEndpoint> |
webExposeExcludePropertyEndpointFilter() |
public WebEndpointAutoConfiguration(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, ObjectProvider<PathMapper> endpointPathMappers, ObjectProvider<OperationInvokerAdvisor> invokerAdvisors, ObjectProvider<EndpointFilter<ExposableWebEndpoint>> filters)
@Bean @ConditionalOnMissingBean(value=ControllerEndpointsSupplier.class) public ControllerEndpointDiscoverer controllerEndpointDiscoverer(ObjectProvider<PathMapper> endpointPathMappers, 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 © 2019 Pivotal Software, Inc.. All rights reserved.