- All Implemented Interfaces:
- Serializable, HasKeyedProperties
public class ResourceLongerThanDecideRule
extends ResourceNoLongerThanDecideRule
Applies configured decision for URIs with content length greater than
a given threshold length value. Examines either HTTP header Content-Length
or actual downloaded content length (based on the useHeaderLength property),
and has no effect on resources shorter than or equal to the given threshold
value.
Note that because neither the Content-Length header nor the actual size are
available at URI-scoping time, this rule is unusable in crawl scopes.
Instead, the earliest it can be used is as a mid-fetch rule (in FetchHTTP),
when the headers are available but not yet the body. It can also be used
to affect processing after the URI is fully fetched.
- See Also:
- Serialized Form