Class Meta

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

public final class Meta extends Object
  • Method Details

    • getServer

      public String getServer()
      Hostname of the upstream that answered, matching that TLD's /tlds entry so it can be handed straight to TldsOptions.server(String). Occasionally null on an older cached record.
    • getSource

      public String getSource()
      Which protocol answered, rdap or whois. Always rdap except on domain lookups where the TLD has no RDAP server.
    • getRdapServer

      @Deprecated public String getRdapServer()
      Deprecated.
      use getServer() for the host that answered, or getRawRdapUrl() for the exact endpoint queried.
      Base URL of the RDAP server, present only when getSource() is rdap.
    • getRawRdapUrl

      public String getRawRdapUrl()
      Direct URL to the raw RDAP response. Null when getSource() is whois, which has no URL form, or when a stored snapshot answered.
    • getCached

      public Boolean getCached()
      Whether a cached record answered. Null in the partial meta of a failed bulk entry, which the API omits it from — absence is not "served live".
    • getCacheExpires

      public String getCacheExpires()
      When the cached record expires. Null for the same reason getCached() can be.
    • getFollowed

      public Boolean getFollowed()
    • getRegistrarRdapServer

      public String getRegistrarRdapServer()
    • getFollowError

      public String getFollowError()