us.codecraft.webmagic.handler.RequestMatcher Maven / Gradle / Ivy
package us.codecraft.webmagic.handler;
import us.codecraft.webmagic.Request;
/**
* @author [email protected]
* @since 0.5.0
*/
public interface RequestMatcher {
/**
* Check whether to process the page.
* Please DO NOT change page status in this method.
*
* @param page page
*
* @return whether matches
*/
public boolean match(Request page);
public enum MatchOther {
YES, NO
}
}