Class DomainLookupCommand

java.lang.Object
google.registry.whois.DomainLookupCommand
All Implemented Interfaces:
WhoisCommand

public class DomainLookupCommand extends Object implements WhoisCommand
Represents a WHOIS lookup on a domain name (i.e. SLD).
  • Constructor Details

    • DomainLookupCommand

      public DomainLookupCommand(com.google.common.net.InternetDomainName domainName, boolean fullOutput, boolean cached, String whoisRedactedEmailText, String domainBlockedByBsaTemplate)
  • Method Details

    • executeQuery

      public final WhoisResponse executeQuery(org.joda.time.DateTime now) throws WhoisException
      Description copied from interface: WhoisCommand
      Executes a WHOIS query and returns the resultant data.
      Specified by:
      executeQuery in interface WhoisCommand
      Returns:
      An object representing the response to the WHOIS command.
      Throws:
      WhoisException - If some error occured while executing the command.