@EnableWebMvc @EnableAspectJAutoProxy(proxyTargetClass=true) public class BaseSpringMvcConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer, org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
BaseSpringMvcConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
This implementation is empty.
|
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
void |
configureViewResolvers(org.springframework.web.servlet.config.annotation.ViewResolverRegistry registry) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
重型排序 return Value Handlers
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void configureViewResolvers(org.springframework.web.servlet.config.annotation.ViewResolverRegistry registry)
configureViewResolvers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
This implementation is empty.
addResourceHandlers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareapplicationContext - 应用环境上下文org.springframework.beans.BeansException - 异常Copyright © 2020 江苏南大先腾信息产业股份有限公司. All rights reserved.