@ManagementContextConfiguration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.springframework.web.servlet.DispatcherServlet.class) @ConditionalOnBean(value={org.springframework.web.servlet.DispatcherServlet.class,org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier.class}) @EnableConfigurationProperties(value=CorsEndpointProperties.class) public class WebMvcEndpointManagementContextConfiguration extends java.lang.Object
@ManagementContextConfiguration for Spring MVC
@Endpoint concerns.| Constructor and Description |
|---|
WebMvcEndpointManagementContextConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
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.web.servlet.AdditionalHealthEndpointPathsWebMvcHandlerMapping |
managementHealthEndpointWebMvcHandlerMapping(org.springframework.boot.actuate.endpoint.web.WebEndpointsSupplier webEndpointsSupplier,
org.springframework.boot.actuate.health.HealthEndpointGroups groups) |
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) |
public WebMvcEndpointManagementContextConfiguration()
@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)
@Bean @ConditionalOnManagementPort(value=DIFFERENT) @ConditionalOnBean(value=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)
@Bean
@ConditionalOnMissingBean
public org.springframework.boot.actuate.endpoint.web.servlet.ControllerEndpointHandlerMapping controllerEndpointHandlerMapping(org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpointsSupplier controllerEndpointsSupplier,
CorsEndpointProperties corsProperties,
WebEndpointProperties webEndpointProperties)