Package org.apache.http.impl.cookie
Class PublicSuffixListParser
- java.lang.Object
-
- org.apache.http.impl.cookie.PublicSuffixListParser
-
@Contract(threading=IMMUTABLE) @Deprecated public class PublicSuffixListParser extends java.lang.ObjectDeprecated.(4.4) usePublicSuffixListParser.Parses the list from publicsuffix.org and configures a PublicSuffixFilter.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description private PublicSuffixFilterfilterDeprecated.private PublicSuffixListParserparserDeprecated.
-
Constructor Summary
Constructors Constructor Description PublicSuffixListParser(PublicSuffixFilter filter)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidparse(java.io.Reader reader)Deprecated.Parses the public suffix list format.
-
-
-
Field Detail
-
filter
private final PublicSuffixFilter filter
Deprecated.
-
parser
private final PublicSuffixListParser parser
Deprecated.
-
-
Constructor Detail
-
PublicSuffixListParser
PublicSuffixListParser(PublicSuffixFilter filter)
Deprecated.
-
-
Method Detail
-
parse
public void parse(java.io.Reader reader) throws java.io.IOExceptionDeprecated.Parses the public suffix list format. When creating the reader from the file, make sure to use the correct encoding (the original list is in UTF-8).- Parameters:
reader- the suffix list. The caller is responsible for closing the reader.- Throws:
java.io.IOException- on error while reading from list
-
-