@Configuration @ConditionalOnWebApplication @ConditionalOnClass(value=org.springframework.web.servlet.DispatcherServlet.class) public class DispatcherServletAutoConfiguration extends Object
Auto-configuration
for the Spring
DispatcherServlet
. Should work for a standalone application where an embedded
servlet container 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 © 2016 Pivotal Software, Inc.. All rights reserved.