Class DispatcherServletAutoConfiguration
java.lang.Object
org.springframework.boot.webmvc.autoconfigure.DispatcherServletAutoConfiguration
@AutoConfigureOrder(-2147483648)
@AutoConfiguration
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(DispatcherServlet.class)
public final class DispatcherServletAutoConfiguration
extends Object
Auto-configuration for the Spring
DispatcherServlet. Should work for a standalone application where an embedded
web server is already present and also for a deployable application using
SpringBootServletInitializer.- Since:
- 4.0.0
- Author:
- Phillip Webb, Dave Syer, Stephane Nicoll, Brian Clozel
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classprotected static class
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
DEFAULT_DISPATCHER_SERVLET_BEAN_NAMEThe bean name for a DispatcherServlet that will be mapped to the root URL "/".- See Also:
 
- 
DEFAULT_DISPATCHER_SERVLET_REGISTRATION_BEAN_NAMEThe bean name for a ServletRegistrationBean for the DispatcherServlet "/".- See Also:
 
 
- 
- 
Constructor Details- 
DispatcherServletAutoConfigurationpublic DispatcherServletAutoConfiguration()
 
-