@Configuration(proxyBeanMethods=false) @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) |
IncludeExcludeEndpointFilter<ExposableControllerEndpoint> |
controllerExposeExcludePropertyEndpointFilter() |
EndpointMediaTypes |
endpointMediaTypes() |
PathMappedEndpoints |
pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers) |
WebEndpointDiscoverer |
webEndpointDiscoverer(ParameterValueMapper parameterValueMapper,
EndpointMediaTypes endpointMediaTypes,
ObjectProvider<PathMapper> endpointPathMappers,
ObjectProvider<OperationInvokerAdvisor> invokerAdvisors,
ObjectProvider<EndpointFilter<ExposableWebEndpoint>> filters) |
PathMapper |
webEndpointPathMapper() |
IncludeExcludeEndpointFilter<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)
@Bean public IncludeExcludeEndpointFilter<ExposableWebEndpoint> webExposeExcludePropertyEndpointFilter()
@Bean public IncludeExcludeEndpointFilter<ExposableControllerEndpoint> controllerExposeExcludePropertyEndpointFilter()