Contents
Class DispatcherServletAutoConfiguration
java.lang.Object
org.springframework.boot.webmvc.autoconfigure.DispatcherServletAutoConfiguration
@AutoConfigureOrder(-2147483648)
@AutoConfiguration
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(DispatcherServlet.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
.- Since:
- 4.0.0
- Author:
- Phillip Webb, Dave Syer, Stephane Nicoll, Brian Clozel