org.niocchi.core
Interface RedirectionController

All Known Implementing Classes:
HostRedirectionController

public interface RedirectionController

Implement this interface and pass it to the crawler through org.niocchi.core.Crawler.setRedirectionController to control which redirection the crawler is allowed to follow.


Method Summary
 boolean isAllowed(Query query, java.net.URL redirection)
           
 

Method Detail

isAllowed

boolean isAllowed(Query query,
                  java.net.URL redirection)