@ConditionalOnWebApplication(type=SERVLET) public class MvcCommonAutoConfig extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
MvcCommonAutoConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> resolvers) |
void |
addReturnValueHandlers(List<org.springframework.web.method.support.HandlerMethodReturnValueHandler> handlers) |
void |
config(org.springframework.web.servlet.view.BeanNameViewResolver resolver) |
void |
configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCorsMappings, addFormatters, addInterceptors, addResourceHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator@Autowired(required=false) public void config(org.springframework.web.servlet.view.BeanNameViewResolver resolver)
public void configurePathMatch(org.springframework.web.servlet.config.annotation.PathMatchConfigurer configurer)
configurePathMatch 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> resolvers)
addArgumentResolvers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addReturnValueHandlers(List<org.springframework.web.method.support.HandlerMethodReturnValueHandler> handlers)
addReturnValueHandlers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2021. All rights reserved.