The primary purpose of this class is to determine if domains are safe to use in various use-cases.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Method and Description |
|---|---|
| public static Optional | |
| public String | |
| public String | Returns: the public suffix of the registered domainReturns the public suffix of the registered domain. |
| public RegisteredDomain. |
| from | back to summary |
|---|---|
| public static Optional Returns an
| |
| name | back to summary |
|---|---|
| public String name() Returns the name of the registered domain.
| |
| publicSuffix | back to summary |
|---|---|
| public String publicSuffix() Returns the public suffix of the registered domain.
| |
| type | back to summary |
|---|---|
| public RegisteredDomain. Returns the type of the registered domain.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final RegisteredDomain. | ICANN
An ICANN registered domain. |
| public static final RegisteredDomain. | PRIVATE
A private registered domain. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static RegisteredDomain. | |
| public static RegisteredDomain. |
| ICANN | back to summary |
|---|---|
| public static final RegisteredDomain. An ICANN registered domain. | |
| PRIVATE | back to summary |
|---|---|
| public static final RegisteredDomain. A private registered domain. | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static RegisteredDomain. | |
| values | back to summary |
|---|---|
| public static RegisteredDomain. | |