@ManagementContextConfiguration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.springframework.web.servlet.DispatcherServlet.class) @ConditionalOnBean(value=org.springframework.web.servlet.DispatcherServlet.class) @EnableConfigurationProperties(value={CorsEndpointProperties.class,ManagementServerProperties.class}) public class WebMvcEndpointManagementContextConfiguration extends Object
ManagementContextConfiguration
for Spring MVC Endpoint
concerns.Constructor and Description |
---|
WebMvcEndpointManagementContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
EndpointPathProvider |
endpointPathProvider(EndpointProvider<WebEndpointOperation> provider,
ManagementServerProperties managementServerProperties) |
WebMvcEndpointHandlerMapping |
webEndpointServletHandlerMapping(EndpointProvider<WebEndpointOperation> provider,
CorsEndpointProperties corsProperties,
ManagementServerProperties managementServerProperties) |
public WebMvcEndpointManagementContextConfiguration()
@Bean @ConditionalOnMissingBean public WebMvcEndpointHandlerMapping webEndpointServletHandlerMapping(EndpointProvider<WebEndpointOperation> provider, CorsEndpointProperties corsProperties, ManagementServerProperties managementServerProperties)
@Bean @ConditionalOnMissingBean public EndpointPathProvider endpointPathProvider(EndpointProvider<WebEndpointOperation> provider, ManagementServerProperties managementServerProperties)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.