class PublicSuffixMatch
source · line 12public
public class PublicSuffixMatch internal constructor(
/**
* The normalized ASCII domain without a trailing dot.
*/
public val domain: String,
/**
* The effective public suffix selected by the rule set.
*/
public val publicSuffix: String,
/**
* The public suffix plus one preceding label, or None if no such label exists.
*/
public val registrableDomain: String?,
/**
* The selected exact, wildcard, or exception rule, when explicitly present.
*/
public val rule: String?,
/**
* Whether the selected rule came from the private section.
*/
public val isPrivate: Boolean
)
The normalized domain, effective public suffix, optional registrable domain, and matched rule metadata.
property registrableDomain
source · line 24public
public val registrableDomain: String?
get: public read-only
The public suffix plus one preceding label, or None if no such label exists.
property isPrivate
source · line 32public
public val isPrivate: Boolean
get: public read-only
Whether the selected rule came from the private section.
property domain
source · line 16public
public val domain: String
get: public read-only
The normalized ASCII domain without a trailing dot.
property publicSuffix
source · line 20public
public val publicSuffix: String
get: public read-only
The effective public suffix selected by the rule set.
property rule
source · line 28public
public val rule: String?
get: public read-only
The selected exact, wildcard, or exception rule, when explicitly present.