Package google.registry.whois
Class WhoisCommandFactory
java.lang.Object
google.registry.whois.WhoisCommandFactory
A class used to configure WHOIS commands.
To add custom commands, extend this class, then configure it in
RegistryConfig.ConfigModule.provideWhoisCommandFactoryClass(google.registry.config.RegistryConfigSettings)
.
-
Constructor Summary
ConstructorDescriptionPublic default constructor, needed so we can construct this from the class name. -
Method Summary
Modifier and TypeMethodDescriptiondomainLookup
(com.google.common.net.InternetDomainName domainName, boolean fullOutput, String whoisRedactedEmailText, String domainBlockedByBsaTemplate) Returns a newWhoisCommand
to perform a domain lookup on the specified domain name.nameserverLookupByHost
(com.google.common.net.InternetDomainName hostName) Returns a newWhoisCommand
to perform a nameserver lookup on the specified host name.nameserverLookupByIp
(InetAddress inetAddress) Returns a newWhoisCommand
to perform a nameserver lookup on the specified IP address.registrarLookup
(String registrar) Returns a newWhoisCommand
to perform a registrar lookup on the specified registrar name.
-
Constructor Details
-
WhoisCommandFactory
public WhoisCommandFactory()Public default constructor, needed so we can construct this from the class name.
-
-
Method Details
-
domainLookup
public WhoisCommand domainLookup(com.google.common.net.InternetDomainName domainName, boolean fullOutput, String whoisRedactedEmailText, String domainBlockedByBsaTemplate) Returns a newWhoisCommand
to perform a domain lookup on the specified domain name. -
nameserverLookupByIp
Returns a newWhoisCommand
to perform a nameserver lookup on the specified IP address. -
nameserverLookupByHost
Returns a newWhoisCommand
to perform a nameserver lookup on the specified host name. -
registrarLookup
Returns a newWhoisCommand
to perform a registrar lookup on the specified registrar name.
-