org.archive.wayback.resourceindex.filters
Class HttpCodeFilter
java.lang.Object
org.archive.wayback.resourceindex.filters.HttpCodeFilter
- All Implemented Interfaces:
- ObjectFilter<CaptureSearchResult>
public class HttpCodeFilter
- extends Object
- implements ObjectFilter<CaptureSearchResult>
ObjectFilter which allows including or excluding results based on the
Http response code.
- Version:
- $Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Rev: 3262 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpCodeFilter
public HttpCodeFilter()
getIncludes
public List<String> getIncludes()
setIncludes
public void setIncludes(List<String> includes)
getExcludes
public List<String> getExcludes()
setExcludes
public void setExcludes(List<String> excludes)
filterObject
public int filterObject(CaptureSearchResult o)
- Description copied from interface:
ObjectFilter
- inpect record and determine if it should be included in the
results or not, or if processing of new records should stop.
- Specified by:
filterObject in interface ObjectFilter<CaptureSearchResult>
- Parameters:
o - Object which should be checked for inclusion/exclusion or abort
- Returns:
- int of FILTER_INCLUDE, FILTER_EXCLUDE, or FILTER_ABORT
Copyright © 2005-2011 Internet Archive. All Rights Reserved.