Class WebMvcEndpointManagementContextConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.endpoint.web.servlet.WebMvcEndpointManagementContextConfiguration
@ManagementContextConfiguration(proxyBeanMethods=false)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(org.springframework.web.servlet.DispatcherServlet.class)
@ConditionalOnBean({org.springframework.web.servlet.DispatcherServlet.class,org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier.class})
@EnableConfigurationProperties(CorsEndpointProperties.class)
public class WebMvcEndpointManagementContextConfiguration
extends Object
@ManagementContextConfiguration for Spring MVC
@Endpoint concerns.- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.endpoint.web.servlet.ControllerEndpointHandlerMappingcontrollerEndpointHandlerMapping(org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointsSupplier controllerEndpointsSupplier, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties, org.springframework.boot.actuate.endpoint.EndpointAccessResolver endpointAccessResolver) Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.boot.actuate.endpoint.web.servlet.AdditionalHealthEndpointPathsWebMvcHandlerMappingmanagementHealthEndpointWebMvcHandlerMapping(org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier webEndpointsSupplier, org.springframework.boot.actuate.health.HealthEndpointGroups groups) org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMappingwebEndpointServletHandlerMapping(org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier webEndpointsSupplier, org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointsSupplier servletEndpointsSupplier, org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointsSupplier controllerEndpointsSupplier, org.springframework.boot.actuate.endpoint.web.EndpointMediaTypes endpointMediaTypes, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties, org.springframework.core.env.Environment environment)
-
Constructor Details
-
WebMvcEndpointManagementContextConfiguration
public WebMvcEndpointManagementContextConfiguration()
-
-
Method Details
-
webEndpointServletHandlerMapping
@Bean @ConditionalOnMissingBean public org.springframework.boot.actuate.endpoint.web.servlet.WebMvcEndpointHandlerMapping webEndpointServletHandlerMapping(org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier webEndpointsSupplier, org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointsSupplier servletEndpointsSupplier, org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointsSupplier controllerEndpointsSupplier, org.springframework.boot.actuate.endpoint.web.EndpointMediaTypes endpointMediaTypes, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties, org.springframework.core.env.Environment environment) -
managementHealthEndpointWebMvcHandlerMapping
@Bean @ConditionalOnManagementPort(DIFFERENT) @ConditionalOnBean(org.springframework.boot.actuate.health.HealthEndpoint.class) @ConditionalOnAvailableEndpoint(endpoint=org.springframework.boot.actuate.health.HealthEndpoint.class, exposure=WEB) public org.springframework.boot.actuate.endpoint.web.servlet.AdditionalHealthEndpointPathsWebMvcHandlerMapping managementHealthEndpointWebMvcHandlerMapping(org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier webEndpointsSupplier, org.springframework.boot.actuate.health.HealthEndpointGroups groups) -
controllerEndpointHandlerMapping
@Bean @ConditionalOnMissingBean @Deprecated(since="3.3.5", forRemoval=true) public org.springframework.boot.actuate.endpoint.web.servlet.ControllerEndpointHandlerMapping controllerEndpointHandlerMapping(org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointsSupplier controllerEndpointsSupplier, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties, org.springframework.boot.actuate.endpoint.EndpointAccessResolver endpointAccessResolver) Deprecated, for removal: This API element is subject to removal in a future version.
-