@AutoConfigureOrder(value=-2147483648) @Configuration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.springframework.web.servlet.DispatcherServlet.class) @AutoConfigureAfter(value=ServletWebServerFactoryAutoConfiguration.class) public 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
.Modifier and Type | Class and Description |
---|---|
protected static class |
DispatcherServletAutoConfiguration.DispatcherServletConfiguration |
protected static class |
DispatcherServletAutoConfiguration.DispatcherServletRegistrationConfiguration |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DISPATCHER_SERVLET_BEAN_NAME |
static String |
DEFAULT_DISPATCHER_SERVLET_REGISTRATION_BEAN_NAME |
Constructor and Description |
---|
DispatcherServletAutoConfiguration() |
public static final String DEFAULT_DISPATCHER_SERVLET_BEAN_NAME
public static final String DEFAULT_DISPATCHER_SERVLET_REGISTRATION_BEAN_NAME
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.