@ManagementContextConfiguration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.springframework.web.servlet.DispatcherServlet.class) @ConditionalOnBean(value={org.springframework.web.servlet.DispatcherServlet.class,WebEndpointsSupplier.class}) @EnableConfigurationProperties(value=CorsEndpointProperties.class) public class WebMvcEndpointManagementContextConfiguration extends Object
ManagementContextConfiguration
for Spring MVC Endpoint
concerns.Constructor and Description |
---|
WebMvcEndpointManagementContextConfiguration() |
Modifier and Type | Method and Description |
---|---|
ControllerEndpointHandlerMapping |
controllerEndpointHandlerMapping(ControllerEndpointsSupplier controllerEndpointsSupplier,
CorsEndpointProperties corsProperties,
WebEndpointProperties webEndpointProperties) |
WebMvcEndpointHandlerMapping |
webEndpointServletHandlerMapping(WebEndpointsSupplier webEndpointsSupplier,
ServletEndpointsSupplier servletEndpointsSupplier,
ControllerEndpointsSupplier controllerEndpointsSupplier,
EndpointMediaTypes endpointMediaTypes,
CorsEndpointProperties corsProperties,
WebEndpointProperties webEndpointProperties) |
public WebMvcEndpointManagementContextConfiguration()
@Bean @ConditionalOnMissingBean public WebMvcEndpointHandlerMapping webEndpointServletHandlerMapping(WebEndpointsSupplier webEndpointsSupplier, ServletEndpointsSupplier servletEndpointsSupplier, ControllerEndpointsSupplier controllerEndpointsSupplier, EndpointMediaTypes endpointMediaTypes, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties)
@Bean @ConditionalOnMissingBean public ControllerEndpointHandlerMapping controllerEndpointHandlerMapping(ControllerEndpointsSupplier controllerEndpointsSupplier, CorsEndpointProperties corsProperties, WebEndpointProperties webEndpointProperties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.