@Configuration @EnableWebMvc @Import(value=org.springframework.boot.actuate.autoconfigure.ManagementContextConfigurationsImportSelector.class) public class EndpointWebMvcChildContextConfiguration extends Object
EndpointWebMvcAutoConfiguration
when a new
EmbeddedServletContainer
running on a different port is required.EndpointWebMvcAutoConfiguration
Modifier and Type | Class and Description |
---|---|
protected static class |
EndpointWebMvcChildContextConfiguration.EndpointHandlerMappingConfiguration
Configuration to add
HandlerMapping for MvcEndpoint s. |
static class |
EndpointWebMvcChildContextConfiguration.EndpointWebMvcChildContextSecurityConfiguration |
protected static class |
EndpointWebMvcChildContextConfiguration.SecureEndpointHandlerMappingConfiguration
Extension of
EndpointWebMvcChildContextConfiguration.EndpointHandlerMappingConfiguration that also configures the
security filter. |
Constructor and Description |
---|
EndpointWebMvcChildContextConfiguration() |
public EndpointWebMvcChildContextConfiguration()
@Bean(name="dispatcherServlet") public DispatcherServlet dispatcherServlet()
@Bean(name="handlerMapping") public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerMapping compositeHandlerMapping()
@Bean(name="handlerAdapter") public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerAdapter compositeHandlerAdapter()
@Bean(name="handlerExceptionResolver") public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerExceptionResolver compositeHandlerExceptionResolver()
@Bean public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.ServerCustomization serverCustomization()
@Bean @ConditionalOnBean(value=ErrorAttributes.class) public ManagementErrorEndpoint errorEndpoint(ServerProperties serverProperties, ErrorAttributes errorAttributes)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.