Class WebMvcAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration
@AutoConfiguration(after={DispatcherServletAutoConfiguration.class,TaskExecutionAutoConfiguration.class},
afterName="org.springframework.boot.validation.autoconfigure.ValidationAutoConfiguration")
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass({Servlet.class,DispatcherServlet.class,WebMvcConfigurer.class})
@ConditionalOnMissingBean(WebMvcConfigurationSupport.class)
@AutoConfigureOrder(-2147483638)
@ImportRuntimeHints(WebResourcesRuntimeHints.class)
public class WebMvcAutoConfiguration
extends Object
- Since:
- 2.0.0
- Author:
- Phillip Webb, Dave Syer, Andy Wilkinson, Sébastien Deleuze, Eddú Meléndez, Stephane Nicoll, Kristine Jetzke, Bruce Brouwer, Artsiom Yudovin, Scott Frederick
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Configuration equivalent to@EnableWebMvc
.static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
DEFAULT_PREFIX
-
DEFAULT_SUFFIX
-
-
Constructor Details
-
WebMvcAutoConfiguration
public WebMvcAutoConfiguration()
-
-
Method Details
-
formContentFilter
@Bean @ConditionalOnMissingBean(FormContentFilter.class) @ConditionalOnBooleanProperty(name="spring.mvc.formcontent.filter.enabled", matchIfMissing=true) public OrderedFormContentFilter formContentFilter()