Class PublicSuffixListParser

java.lang.Object
org.apache.http.impl.cookie.PublicSuffixListParser

@Contract(threading=IMMUTABLE) @Deprecated public class PublicSuffixListParser extends Object
Deprecated.
Parses the list from publicsuffix.org and configures a PublicSuffixFilter.
Since:
4.0
  • Method Details

    • parse

      public void parse(Reader reader) throws IOException
      Deprecated.
      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:
      IOException - on error while reading from list