If {@link #isTopPrivateDomain()} is true, the current domain nameinstance is returned.
This method should not be used to determine the topmost parent domain which is addressable as a host, as many public suffixes are also addressable hosts. For example, the domain {@code foo.bar.uk.com} hasa public suffix of {@code uk.com}, so it would return {@code bar.uk.com}from this method. But {@code uk.com} is itself an addressable host.
This method can be used to determine the probable highest level parent domain for which cookies may be set, though even that depends on individual browsers' implementations of cookie controls. @throws IllegalStateException if this domain does not end with apublic suffix @since Guava release 06
|
|
|
|
|
|