@Retention(value=RUNTIME) @Target(value=TYPE) @InterceptMark @Repeatable(value=Intercepts.class) public @interface Intercept
Automatically assign the parameter value on the annotation to the handleInterceptor instance
| 限定符和类型 | 必需的元素和说明 |
|---|---|
Class<? extends BasePathMatchInterceptor> |
handler
Interceptor handler
优先从spring容器获取对应的Bean,如果获取不到,则使用反射创建一个!
|
public abstract Class<? extends BasePathMatchInterceptor> handler
优先从spring容器获取对应的Bean,如果获取不到,则使用反射创建一个!
First obtain the corresponding Bean from the spring container, if not, use reflection to create one!
public abstract String[] include
Interceptor matching path pattern
public abstract String[] exclude
Interceptor excludes matching, excludes specified path interception
Copyright © 2024. All rights reserved.