## 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 and Description
    --- | ---
    `DomainType` | PublicSuffixList.`getType()`
    `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.

    Methods in org.apache.hc.client5.http.psl with parameters of type DomainType
    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.
    `boolean` | PublicSuffixMatcher.`matches(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 and Description
    `PublicSuffixList(DomainType type, List<String> rules, List<String> exceptions)`
    `PublicSuffixMatcher(DomainType domainType, Collection<String> rules, Collection<String> exceptions)`

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.