@ManagementContextConfiguration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.springframework.web.servlet.DispatcherServlet.class) @ConditionalOnBean(value=org.springframework.web.servlet.DispatcherServlet.class) @EnableConfigurationProperties(value={CorsEndpointProperties.class,WebEndpointProperties.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,
WebEndpointProperties webEndpointProperties) |
WebMvcEndpointHandlerMapping |
webEndpointServletHandlerMapping(EndpointProvider<WebEndpointOperation> provider,
EndpointMediaTypes endpointMediaTypes,
CorsEndpointProperties corsProperties,
WebEndpointProperties webEndpointProperties) |
public WebMvcEndpointManagementContextConfiguration()
@Bean @ConditionalOnMissingBean public WebMvcEndpointHandlerMapping webEndpointServletHandlerMapping(EndpointProvider<WebEndpointOperation> provider, EndpointMediaTypes endpointMediaTypes, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties)
@Bean @ConditionalOnMissingBean public EndpointPathProvider endpointPathProvider(EndpointProvider<WebEndpointOperation> provider, WebEndpointProperties webEndpointProperties)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.