Package | Description |
---|---|
org.apache.hc.client5.http.psl |
Public Suffix List support classes.
|
Modifier and Type | Method and Description |
---|---|
DomainType |
PublicSuffixList.getType() |
DomainType |
PublicSuffixList.getType() |
static DomainType |
DomainType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DomainType |
DomainType.valueOf(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.
|
static DomainType[] |
DomainType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
PublicSuffixMatcher.getDomainRoot(String domain,
DomainType expectedType)
Returns registrable part of the domain for the given domain name or
null
if given domain represents a public suffix. |
String |
PublicSuffixMatcher.getDomainRoot(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(String domain,
DomainType expectedType)
Tests whether the given domain matches any of entry from the public suffix list.
|
boolean |
PublicSuffixMatcher.matches(String domain,
DomainType expectedType)
Tests whether the given domain matches any of entry from the public suffix list.
|
Constructor and Description |
---|
PublicSuffixList(DomainType type,
List<String> rules,
List<String> exceptions) |
PublicSuffixList(DomainType type,
List<String> rules,
List<String> exceptions) |
PublicSuffixMatcher(DomainType domainType,
Collection<String> rules,
Collection<String> exceptions) |
PublicSuffixMatcher(DomainType domainType,
Collection<String> rules,
Collection<String> exceptions) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.