com.google.common.base.Predicate<T>
, Filter<T>
, FlyweightPrototype<Filter<T>>
, java.util.function.Predicate<T>
ContentTypeStartsWith
, DigestEquals
, DuplicateSegmentsLessThan
, HostEndsWith
, HostEndsWithOneOf
, HostEquals
, IsHttpResponse
, IsProbablyBinary
, PathEndsWithOneOf
, ResponseMatches
, SameHost
, SchemeEquals
, StatusCategory
, URLEquals
, URLMatchesRegex
, URLShorterThan
public abstract class AbstractFilter<T> extends java.lang.Object implements Filter<T>
FILTER_PACKAGE_NAME
Constructor | Description |
---|---|
AbstractFilter() |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
toString(java.lang.Object... arg) |
A helper method that generates a string version of this filter (mainly
useful for atomic, i.e., class-based, filters).
|
copy
protected java.lang.String toString(java.lang.Object... arg)
The output format is
<classname>(<arg>, <arg>, ...)
when <classname>
is the simple filter class name, if the filter class belongs
to the Filter.FILTER_PACKAGE_NAME
package, or the fully
qualified filter class name otherwise, and the arguments
are the string representations of the arguments of this method.
arg
- arguments for the string representation above.