类 WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter
- java.lang.Object
- org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter
 
- 所有已实现的接口:
- org.springframework.beans.factory.Aware,- org.springframework.context.ResourceLoaderAware,- org.springframework.web.servlet.config.annotation.WebMvcConfigurer
 - @Configuration @Import(EnableWebMvcConfiguration.class) @EnableConfigurationProperties({WebMvcProperties.class,ResourceProperties.class}) @Order(0) public static class WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.context.ResourceLoaderAware 
- 嵌套类概要- 嵌套类 - 修饰符和类型 - 类 - 说明 - static class- WebMvcAutoConfiguration.WebMvcAutoConfigurationAdapter.FaviconConfiguration
 - 构造器概要- 构造器 - 构造器 - 说明 - WebMvcAutoConfigurationAdapter(ResourceProperties resourceProperties, WebMvcProperties mvcProperties, org.springframework.beans.factory.ListableBeanFactory beanFactory, org.springframework.beans.factory.ObjectProvider<HttpMessageConverters> messageConvertersProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizerProvider)
 - 方法概要- 所有方法 静态方法 实例方法 具体方法 - 修饰符和类型 - 方法 - 说明 - void- addFormatters(org.springframework.format.FormatterRegistry registry)- void- addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)- org.springframework.web.servlet.view.BeanNameViewResolver- beanNameViewResolver()- void- configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer)- void- configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer)- void- configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)- void- configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer)- org.springframework.web.servlet.view.InternalResourceViewResolver- defaultViewResolver()- org.springframework.validation.MessageCodesResolver- getMessageCodesResolver()- org.springframework.web.servlet.LocaleResolver- localeResolver()- static org.springframework.web.filter.RequestContextFilter- requestContextFilter()- void- setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)- org.springframework.web.servlet.view.ContentNegotiatingViewResolver- viewResolver(org.springframework.beans.factory.BeanFactory beanFactory)- org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping- welcomePageHandlerMapping(org.springframework.context.ApplicationContext applicationContext)- 从类继承的方法 java.lang.Object- clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer- addArgumentResolvers, addCorsMappings, addInterceptors, addReturnValueHandlers, addViewControllers, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getValidator
 
 
- 构造器详细资料- WebMvcAutoConfigurationAdapter- public WebMvcAutoConfigurationAdapter(ResourceProperties resourceProperties, WebMvcProperties mvcProperties, org.springframework.beans.factory.ListableBeanFactory beanFactory, org.springframework.beans.factory.ObjectProvider<HttpMessageConverters> messageConvertersProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.ResourceHandlerRegistrationCustomizer> resourceHandlerRegistrationCustomizerProvider) 
 
 - 方法详细资料- setResourceLoader- public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) - 指定者:
- setResourceLoader在接口中- org.springframework.context.ResourceLoaderAware
 
 - configureMessageConverters- public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) - 指定者:
- configureMessageConverters在接口中- org.springframework.web.servlet.config.annotation.WebMvcConfigurer
 
 - configureAsyncSupport- public void configureAsyncSupport(org.springframework.web.servlet.config.annotation.AsyncSupportConfigurer configurer) - 指定者:
- configureAsyncSupport在接口中- org.springframework.web.servlet.config.annotation.WebMvcConfigurer
 
 - configurePathMatch- public void configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) - 指定者:
- configurePathMatch在接口中- org.springframework.web.servlet.config.annotation.WebMvcConfigurer
 
 - configureContentNegotiation- public void configureContentNegotiation(org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer configurer) - 指定者:
- configureContentNegotiation在接口中- org.springframework.web.servlet.config.annotation.WebMvcConfigurer
 
 - defaultViewResolver- @Bean @ConditionalOnMissingBean public org.springframework.web.servlet.view.InternalResourceViewResolver defaultViewResolver() 
 - beanNameViewResolver- @Bean @ConditionalOnBean(org.springframework.web.servlet.View.class) @ConditionalOnMissingBean public org.springframework.web.servlet.view.BeanNameViewResolver beanNameViewResolver() 
 - viewResolver- @Bean @ConditionalOnBean(org.springframework.web.servlet.ViewResolver.class) @ConditionalOnMissingBean(name="viewResolver", value=org.springframework.web.servlet.view.ContentNegotiatingViewResolver.class) public org.springframework.web.servlet.view.ContentNegotiatingViewResolver viewResolver(org.springframework.beans.factory.BeanFactory beanFactory) 
 - localeResolver- @Bean @ConditionalOnMissingBean @ConditionalOnProperty(prefix="spring.mvc", name="locale") public org.springframework.web.servlet.LocaleResolver localeResolver() 
 - getMessageCodesResolver- public org.springframework.validation.MessageCodesResolver getMessageCodesResolver() - 指定者:
- getMessageCodesResolver在接口中- org.springframework.web.servlet.config.annotation.WebMvcConfigurer
 
 - addFormatters- public void addFormatters(org.springframework.format.FormatterRegistry registry) - 指定者:
- addFormatters在接口中- org.springframework.web.servlet.config.annotation.WebMvcConfigurer
 
 - addResourceHandlers- public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) - 指定者:
- addResourceHandlers在接口中- org.springframework.web.servlet.config.annotation.WebMvcConfigurer
 
 - welcomePageHandlerMapping- @Bean public org.springframework.boot.autoconfigure.web.servlet.WelcomePageHandlerMapping welcomePageHandlerMapping(org.springframework.context.ApplicationContext applicationContext) 
 - requestContextFilter- @Bean @ConditionalOnMissingBean({org.springframework.web.context.request.RequestContextListener.class,org.springframework.web.filter.RequestContextFilter.class}) public static org.springframework.web.filter.RequestContextFilter requestContextFilter()