@Configuration @ComponentScan(value="cn.easyutil.project.web") public class WebAutoConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
WebAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
org.springframework.web.servlet.config.annotation.WebMvcConfigurer |
corsConfigurer() |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
addInterceptors 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurer@Bean public org.springframework.web.servlet.config.annotation.WebMvcConfigurer corsConfigurer()
@Bean @Primary public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
Copyright © 2021. All rights reserved.