@Configuration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.web.servlet.DispatcherServlet.class,org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class}) @ConditionalOnMissingBean(value=org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.class) @AutoConfigureOrder(value=-2147483638) @AutoConfigureAfter(value={DispatcherServletAutoConfiguration.class,TaskExecutionAutoConfiguration.class,ValidationAutoConfiguration.class}) public class WebMvcAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebMvcAutoConfiguration.EnableWebMvcConfiguration
Configuration equivalent to
@EnableWebMvc . |
static class |
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX |
static String |
DEFAULT_SUFFIX |
Constructor and Description |
---|
WebMvcAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
OrderedFormContentFilter |
formContentFilter() |
OrderedHiddenHttpMethodFilter |
hiddenHttpMethodFilter() |
public static final String DEFAULT_PREFIX
public static final String DEFAULT_SUFFIX
@Bean @ConditionalOnMissingBean(value=org.springframework.web.filter.HiddenHttpMethodFilter.class) @ConditionalOnProperty(prefix="spring.mvc.hiddenmethod.filter", name="enabled", matchIfMissing=true) public OrderedHiddenHttpMethodFilter hiddenHttpMethodFilter()
@Bean @ConditionalOnMissingBean(value=org.springframework.web.filter.FormContentFilter.class) @ConditionalOnProperty(prefix="spring.mvc.formcontent.filter", name="enabled", matchIfMissing=true) public OrderedFormContentFilter formContentFilter()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.