Class TldEntry

java.lang.Object
io.rdapapi.client.responses.TldEntry

public final class TldEntry extends Object
A single TLD entry from the /tlds catalog.
  • Method Details

    • getTld

      public String getTld()
    • getProtocol

      public String getProtocol()
      Which protocol answers for this TLD, rdap or whois. whois marks the ccTLDs IANA lists no RDAP server for.
    • getSupportedSince

      public String getSupportedSince()
    • getServer

      public String getServer()
      Hostname of the upstream that answers for this TLD. This is what TldsOptions.server(String) filters on, and what a lookup's Meta.getServer() returns.
    • getRdapServerHost

      @Deprecated public String getRdapServerHost()
      Deprecated.
      superseded by getServer().
      Null when getProtocol() is whois.
    • getRdapServerUrl

      public String getRdapServerUrl()
      Null when getProtocol() is whois, which has no URL form.
    • getFieldAvailability

      public FieldAvailability getFieldAvailability()
      null when the API does not yet have enough observations for this TLD.