public final class PublicSuffixMatcher extends Object
An up-to-date list of suffixes can be obtained from publicsuffix.org Copied from httpclient.
Constructor and Description |
---|
PublicSuffixMatcher(Collection<String> rules,
Collection<String> exceptions) |
Modifier and Type | Method and Description |
---|---|
String |
getDomainRoot(String domain)
Returns registrable part of the domain for the given domain name of
null
if given domain represents a public suffix. |
boolean |
matches(String domain) |
public PublicSuffixMatcher(Collection<String> rules, Collection<String> exceptions)
Apache CXF