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

cn.wanghaomiao.seimi.annotation.Interceptor Maven / Gradle / Ivy

Go to download

一个支持分布式的可以高效开发且可以高效运行的爬虫框架。设计思想上融合了spring与scrapy的优点。

There is a newer version: 2.1.4
Show newest version
package cn.wanghaomiao.seimi.annotation;

import java.lang.annotation.*;

/**
 * 标记一个拦截器,用于解析引擎识别
 * @author 汪浩淼 [[email protected]]
 *         Date: 2015/5/28.
 */
@Target({ ElementType.TYPE, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Interceptor {
    /**
     * 用于判断是否每个拦截到的方法都进行拦截并执行
     * @return
     */
    boolean everyMethod() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy