@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() |
public static String DEFAULT_PREFIX
public static String DEFAULT_SUFFIX
@Bean @ConditionalOnMissingBean(value=org.springframework.web.filter.HiddenHttpMethodFilter.class) public HiddenHttpMethodFilter hiddenHttpMethodFilter()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.