Package google.registry.whois
Class DomainLookupCommand
java.lang.Object
google.registry.whois.DomainLookupCommand
- All Implemented Interfaces:
WhoisCommand
Represents a WHOIS lookup on a domain name (i.e. SLD).
-
Constructor Summary
ConstructorDescriptionDomainLookupCommand
(com.google.common.net.InternetDomainName domainName, boolean fullOutput, boolean cached, String whoisRedactedEmailText, String domainBlockedByBsaTemplate) -
Method Summary
Modifier and TypeMethodDescriptionfinal WhoisResponse
executeQuery
(org.joda.time.DateTime now) Executes a WHOIS query and returns the resultant data.
-
Constructor Details
-
DomainLookupCommand
-
-
Method Details
-
executeQuery
Description copied from interface:WhoisCommand
Executes a WHOIS query and returns the resultant data.- Specified by:
executeQuery
in interfaceWhoisCommand
- Returns:
- An object representing the response to the WHOIS command.
- Throws:
WhoisException
- If some error occured while executing the command.
-