@Configuration @Order(value=0) public class WebMvcInterceptor extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
| 构造器和说明 |
|---|
WebMvcInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
void |
addFormatters(org.springframework.format.FormatterRegistry registry) |
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddArgumentResolvers, 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.WebMvcConfigurerpublic void addFormatters(org.springframework.format.FormatterRegistry registry)
addFormatters 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerpublic void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings 在接口中 org.springframework.web.servlet.config.annotation.WebMvcConfigurerCopyright © 2020. All rights reserved.