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< |
InternalResourceViewResolver |
defaultViewResolver() |
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=) public ContentNegotiatingViewResolver viewResolver(BeanFactory beanFactory)
public void addFormatters(FormatterRegistry registry)
public void addResourceHandlers(ResourceHandlerRegistry registry)
public void addViewControllers(ViewControllerRegistry registry)
Copyright © 2014. All rights reserved.