Class EndpointWebMvcChildContextConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration
@Configuration @EnableWebMvc @Import(org.springframework.boot.actuate.autoconfigure.ManagementContextConfigurationsImportSelector.class) public class EndpointWebMvcChildContextConfiguration extends Object
Configuration triggered fromEndpointWebMvcAutoConfiguration
when a newEmbeddedServletContainer
running on a different port is required.- See Also:
EndpointWebMvcAutoConfiguration
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
EndpointWebMvcChildContextConfiguration.EndpointHandlerMappingConfiguration
Configuration to addHandlerMapping
forMvcEndpoint
s.static class
EndpointWebMvcChildContextConfiguration.EndpointWebMvcChildContextSecurityConfiguration
Constructor Summary
Constructors Constructor Description EndpointWebMvcChildContextConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerAdapter
compositeHandlerAdapter()
org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerExceptionResolver
compositeHandlerExceptionResolver()
org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerMapping
compositeHandlerMapping()
org.springframework.web.servlet.DispatcherServlet
dispatcherServlet()
ManagementErrorEndpoint
errorEndpoint(org.springframework.boot.autoconfigure.web.ErrorAttributes errorAttributes)
org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.ServerCustomization
serverCustomization()
org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.TomcatAccessLogCustomizer
tomcatAccessLogCustomizer()
org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.UndertowAccessLogCustomizer
undertowAccessLogCustomizer()
Constructor Detail
EndpointWebMvcChildContextConfiguration
public EndpointWebMvcChildContextConfiguration()
Method Detail
dispatcherServlet
@Bean(name="dispatcherServlet") public org.springframework.web.servlet.DispatcherServlet dispatcherServlet()
compositeHandlerMapping
@Bean(name="handlerMapping") public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerMapping compositeHandlerMapping()
compositeHandlerAdapter
@Bean(name="handlerAdapter") public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerAdapter compositeHandlerAdapter()
compositeHandlerExceptionResolver
@Bean(name="handlerExceptionResolver") public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.CompositeHandlerExceptionResolver compositeHandlerExceptionResolver()
serverCustomization
@Bean public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.ServerCustomization serverCustomization()
undertowAccessLogCustomizer
@Bean public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.UndertowAccessLogCustomizer undertowAccessLogCustomizer()
tomcatAccessLogCustomizer
@Bean @ConditionalOnClass(name="org.apache.catalina.valves.AccessLogValve") public org.springframework.boot.actuate.autoconfigure.EndpointWebMvcChildContextConfiguration.TomcatAccessLogCustomizer tomcatAccessLogCustomizer()
errorEndpoint
@Bean @ConditionalOnBean(org.springframework.boot.autoconfigure.web.ErrorAttributes.class) public ManagementErrorEndpoint errorEndpoint(org.springframework.boot.autoconfigure.web.ErrorAttributes errorAttributes)