@ConditionalOnWebApplication
@EnableConfigurationProperties(value=com.github.yingzhuo.carnival.mvc.autoconfig.MvcEnhancementAutoConfig.Props.class)
@ConditionalOnProperty(prefix="carnival.mvc.enhancement",
name="enabled",
havingValue="true",
matchIfMissing=true)
public class MvcEnhancementAutoConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
MvcEnhancementAutoConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addArgumentResolvers(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> argumentResolvers) |
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, addReturnValueHandlers, 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> argumentResolvers)
addArgumentResolvers 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2020. All rights reserved.