@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) public OrderedHttpPutFormContentFilter httpPutFormContentFilter()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.