public class SelfRedirectFilter extends Object implements ObjectFilter<CaptureSearchResult>
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
Constructor and Description |
---|
SelfRedirectFilter() |
SelfRedirectFilter(UrlCanonicalizer canonicalizer) |
Modifier and Type | Method and Description |
---|---|
int |
filterObject(CaptureSearchResult r)
inpect record and determine if it should be included in the
results or not, or if processing of new records should stop.
|
UrlCanonicalizer |
getCanonicalizer() |
void |
setCanonicalizer(UrlCanonicalizer canonicalizer) |
public SelfRedirectFilter()
public SelfRedirectFilter(UrlCanonicalizer canonicalizer)
public int filterObject(CaptureSearchResult r)
ObjectFilter
filterObject
in interface ObjectFilter<CaptureSearchResult>
r
- Object which should be checked for inclusion/exclusion or abortpublic UrlCanonicalizer getCanonicalizer()
public void setCanonicalizer(UrlCanonicalizer canonicalizer)
Copyright © 2005–2017 IIPC. All rights reserved.