@Configuration @ConditionalOnWebApplication @ConditionalOnClass(value={javax.servlet.Servlet.class,org.springframework.web.servlet.DispatcherServlet.class,org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter.class}) @ConditionalOnMissingBean(value=org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.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 |
---|---|
OrderedHiddenHttpMethodFilter |
hiddenHttpMethodFilter() |
OrderedHttpPutFormContentFilter |
httpPutFormContentFilter() |
public static String DEFAULT_PREFIX
public static String DEFAULT_SUFFIX
@Bean @ConditionalOnMissingBean(value=org.springframework.web.filter.HiddenHttpMethodFilter.class) public OrderedHiddenHttpMethodFilter hiddenHttpMethodFilter()
@Bean @ConditionalOnMissingBean(value=org.springframework.web.filter.HttpPutFormContentFilter.class) @ConditionalOnProperty(prefix="spring.mvc.formcontent.putfilter", name="enabled", matchIfMissing=true) public OrderedHttpPutFormContentFilter httpPutFormContentFilter()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.