Package org.apache.http.conn.util
Class PublicSuffixList
- java.lang.Object
 - 
- org.apache.http.conn.util.PublicSuffixList
 
 
- 
@Contract(threading=IMMUTABLE) public final class PublicSuffixList extends java.lang.Object
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 registrantAn up-to-date list of suffixes can be obtained from publicsuffix.org
- Since:
 - 4.4
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PublicSuffixList(java.util.List<java.lang.String> rules, java.util.List<java.lang.String> exceptions)PublicSuffixList(DomainType type, java.util.List<java.lang.String> rules, java.util.List<java.lang.String> exceptions) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getExceptions()java.util.List<java.lang.String>getRules()DomainTypegetType() 
 - 
 
- 
- 
Constructor Detail
- 
PublicSuffixList
public PublicSuffixList(DomainType type, java.util.List<java.lang.String> rules, java.util.List<java.lang.String> exceptions)
- Since:
 - 4.5
 
 
- 
PublicSuffixList
public PublicSuffixList(java.util.List<java.lang.String> rules, java.util.List<java.lang.String> exceptions) 
 - 
 
- 
Method Detail
- 
getType
public DomainType getType()
- Since:
 - 4.5
 
 
- 
getRules
public java.util.List<java.lang.String> getRules()
 
- 
getExceptions
public java.util.List<java.lang.String> getExceptions()
 
 - 
 
 -