com.fastchar.annotation.AFastBefore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastchar Show documentation
Show all versions of fastchar Show documentation
FastChar is Web+ORM Framework in Java.
package com.fastchar.annotation;
import com.fastchar.interfaces.IFastInterceptor;
import java.lang.annotation.*;
/**
* FastChar拦截器注解,用作标注拦截请求前的动作
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface AFastBefore {
/**
* 实现IFastInterceptor的拦截器
* @return 拦截器类数组
*/
Class extends IFastInterceptor>[] value();
/**
* 拦截器的优先级
* @return 优先级数字 ,数字越大级别越高
*/
int priority() default 0;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy