@Configuration @EnableWebMvc @EnableConfigurationProperties(value={WebMvcProperties.class,ResourceProperties.class}) public static class WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration |
| Constructor and Description |
|---|
WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
void |
addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry) |
org.springframework.web.servlet.view.BeanNameViewResolver |
beanNameViewResolver() |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
org.springframework.format.Formatter<Date> |
dateFormatter() |
org.springframework.web.servlet.view.InternalResourceViewResolver |
defaultViewResolver() |
org.springframework.validation.MessageCodesResolver |
getMessageCodesResolver() |
org.springframework.web.servlet.LocaleResolver |
localeResolver() |
org.springframework.web.context.request.RequestContextListener |
requestContextListener() |
org.springframework.web.servlet.view.ContentNegotiatingViewResolver |
viewResolver(org.springframework.beans.factory.BeanFactory beanFactory) |
addArgumentResolvers, addInterceptors, addReturnValueHandlers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, getValidatorpublic WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter()
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.view.InternalResourceViewResolver.class) public org.springframework.web.servlet.view.InternalResourceViewResolver defaultViewResolver()
@Bean @ConditionalOnMissingBean(value=org.springframework.web.context.request.RequestContextListener.class) public org.springframework.web.context.request.RequestContextListener requestContextListener()
@Bean @ConditionalOnBean(value=org.springframework.web.servlet.View.class) public org.springframework.web.servlet.view.BeanNameViewResolver beanNameViewResolver()
@Bean @ConditionalOnBean(value=org.springframework.web.servlet.ViewResolver.class) @ConditionalOnMissingBean(name="viewResolver") public org.springframework.web.servlet.view.ContentNegotiatingViewResolver viewResolver(org.springframework.beans.factory.BeanFactory beanFactory)
@Bean @ConditionalOnMissingBean(value=org.springframework.web.servlet.LocaleResolver.class) public org.springframework.web.servlet.LocaleResolver localeResolver()
@Bean public org.springframework.format.Formatter<Date> dateFormatter()
public org.springframework.validation.MessageCodesResolver getMessageCodesResolver()
getMessageCodesResolver in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurergetMessageCodesResolver in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddFormatters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addViewControllers(org.springframework.web.servlet.config.annotation.ViewControllerRegistry registry)
addViewControllers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddViewControllers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterCopyright © 2014 Pivotal Software, Inc.. All rights reserved.