| Package | Description |
|---|---|
| org.apache.http.conn.util |
Connection utility classes.
|
| Modifier and Type | Method | Description |
|---|---|---|
DomainType |
PublicSuffixList.getType() |
|
static DomainType |
DomainType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DomainType[] |
DomainType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
PublicSuffixMatcher.getDomainRoot(java.lang.String domain,
DomainType expectedType) |
Returns registrable part of the domain for the given domain name or
null
if given domain represents a public suffix. |
boolean |
PublicSuffixMatcher.matches(java.lang.String domain,
DomainType expectedType) |
Tests whether the given domain matches any of entry from the public suffix list.
|
| Constructor | Description |
|---|---|
PublicSuffixList(DomainType type,
java.util.List<java.lang.String> rules,
java.util.List<java.lang.String> exceptions) |
|
PublicSuffixMatcher(DomainType domainType,
java.util.Collection<java.lang.String> rules,
java.util.Collection<java.lang.String> exceptions) |