All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fastchar.annotation.AFastBefore Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
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[] value();

    /**
     * 拦截器的优先级
     * @return 优先级数字 ,数字越大级别越高
     */
    int priority() default 0;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy