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(org.springframework.format.FormatterRegistry registry) |
void |
addResourceHandlers(ResourceHandlerRegistry registry) |
void |
addViewControllers(ViewControllerRegistry registry) |
BeanNameViewResolver |
beanNameViewResolver() |
void |
configureMessageConverters(List< |
InternalResourceViewResolver |
defaultViewResolver() |
RequestContextListener |
requestContextListener() |
ContentNegotiatingViewResolver |
viewResolver(org.springframework.beans.factory.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=) public ContentNegotiatingViewResolver viewResolver(org.springframework.beans.factory.BeanFactory beanFactory)
public void addFormatters(org.springframework.format.FormatterRegistry registry)
public void addResourceHandlers(ResourceHandlerRegistry registry)
public void addViewControllers(ViewControllerRegistry registry)
Copyright © 2014. All rights reserved.