类 WebMvcInterceptor
java.lang.Object
cn.airfei.aircore.core.interceptor.WebMvcInterceptor
- 所有已实现的接口:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@Order(0)
public class WebMvcInterceptor
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) voidaddFormatters(org.springframework.format.FormatterRegistry registry) voidaddInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
构造器详细资料
-
WebMvcInterceptor
public WebMvcInterceptor()
-
-
方法详细资料
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - 指定者:
addInterceptors在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addFormatters
public void addFormatters(org.springframework.format.FormatterRegistry registry) - 指定者:
addFormatters在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
addCorsMappings
public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) - 指定者:
addCorsMappings在接口中org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-