Uses of Class
org.apache.hc.client5.http.psl.DomainType
-
Packages that use DomainType Package Description org.apache.hc.client5.http.psl Public Suffix List support classes. -
-
Uses of DomainType in org.apache.hc.client5.http.psl
Methods in org.apache.hc.client5.http.psl that return DomainType Modifier and Type Method Description DomainTypePublicSuffixList. getType()static DomainTypeDomainType. 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.Methods in org.apache.hc.client5.http.psl with parameters of type DomainType Modifier and Type Method Description java.lang.StringPublicSuffixMatcher. getDomainRoot(java.lang.String domain, DomainType expectedType)Returns registrable part of the domain for the given domain name ornullif given domain represents a public suffix.booleanPublicSuffixMatcher. matches(java.lang.String domain, DomainType expectedType)Tests whether the given domain matches any of entry from the public suffix list.Constructors in org.apache.hc.client5.http.psl with parameters of type DomainType 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)
-