Top Description Fields Constructors Methods
org.apache.http.conn.util

public final Class PublicSuffixList

extends Object
Class Inheritance
Annotations
@Contract
threading:IMMUTABLE
Imports
java.util.Collections, .List, org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.util.Args

Public suffix is a set of DNS names or wildcards concatenated with dots. It represents the part of a domain name which is not under the control of the individual registrant

An up-to-date list of suffixes can be obtained from publicsuffix.org

Since
4.4

Field Summary

Modifier and TypeField and Description
private final List<String>
private final List<String>
private final DomainType

Constructor Summary

AccessConstructor and Description
public
PublicSuffixList(final DomainType type, final List<String> rules, final List<String> exceptions)

public
PublicSuffixList(final List<String> rules, final List<String> exceptions)

Method Summary

Modifier and TypeMethod and Description
public List<String>
public List<String>
public DomainType
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

exceptionsback to summary
private final List<String> exceptions
rulesback to summary
private final List<String> rules
typeback to summary
private final DomainType type

Constructor Detail

PublicSuffixListback to summary
public PublicSuffixList(final DomainType type, final List<String> rules, final List<String> exceptions)
Since
4.5
PublicSuffixListback to summary
public PublicSuffixList(final List<String> rules, final List<String> exceptions)

Method Detail

getExceptionsback to summary
public List<String> getExceptions()
getRulesback to summary
public List<String> getRules()
getTypeback to summary
public DomainType getType()
Since
4.5