Package it.unimi.dsi.law.warc.filters
Class IsHttpResponse
java.lang.Object
it.unimi.dsi.law.warc.filters.AbstractFilter<WarcRecord>
it.unimi.dsi.law.warc.filters.IsHttpResponse
- All Implemented Interfaces:
com.google.common.base.Predicate<WarcRecord>
,Filter<WarcRecord>
,Predicate<WarcRecord>
public class IsHttpResponse extends AbstractFilter<WarcRecord>
Accepts only records that are http/https responses.
-
Field Summary
Fields Modifier and Type Field Description static IsHttpResponse
INSTANCE
Fields inherited from interface it.unimi.dsi.law.warc.filters.Filter
FILTER_PACKAGE_NAME
-
Method Summary
Modifier and Type Method Description boolean
apply(WarcRecord x)
String
toString()
static IsHttpResponse
valueOf(String emptySpec)
Methods inherited from class it.unimi.dsi.law.warc.filters.AbstractFilter
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.common.base.Predicate
equals, test