@Configuration @EnableConfigurationProperties(value={WebMvcProperties.class,ResourceProperties.class}) public static class WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter extends 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(FormatterRegistry registry) |
void |
addResourceHandlers(ResourceHandlerRegistry registry) |
void |
addViewControllers(ViewControllerRegistry registry) |
BeanNameViewResolver |
beanNameViewResolver() |
void |
configureMessageConverters(List< |
Formatter<Date> |
dateFormatter() |
InternalResourceViewResolver |
defaultViewResolver() |
MessageCodesResolver |
getMessageCodesResolver() |
LocaleResolver |
localeResolver() |
RequestContextListener |
requestContextListener() |
ContentNegotiatingViewResolver |
viewResolver(BeanFactory beanFactory) |
public WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter()
public void configureMessageConverters(List<> converters)
@Bean @ConditionalOnMissingBean(value=) public InternalResourceViewResolver defaultViewResolver()
@Bean @ConditionalOnMissingBean(value=) public RequestContextListener requestContextListener()
@Bean @ConditionalOnBean(value=) public BeanNameViewResolver beanNameViewResolver()
@Bean @ConditionalOnBean(value=) @ConditionalOnMissingBean(name="viewResolver") public ContentNegotiatingViewResolver viewResolver(BeanFactory beanFactory)
@Bean @ConditionalOnMissingBean(value=) public LocaleResolver localeResolver()
public MessageCodesResolver getMessageCodesResolver()
public void addFormatters(FormatterRegistry registry)
public void addResourceHandlers(ResourceHandlerRegistry registry)
public void addViewControllers(ViewControllerRegistry registry)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.