Class Whois


  • public final class Whois
    extends java.lang.Object
    High-level WHOIS API for other packages.
    • Constructor Summary

      Constructors 
      Constructor Description
      Whois​(Clock clock, java.lang.String disclaimer, google.registry.whois.WhoisReader whoisReader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String lookup​(java.lang.String query, boolean preferUnicode, boolean fullOutput)
      Performs a WHOIS lookup on a plaintext query string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Whois

        @Inject
        public Whois​(Clock clock,
                     @Config("whoisDisclaimer")
                     java.lang.String disclaimer,
                     google.registry.whois.WhoisReader whoisReader)
    • Method Detail

      • lookup

        public java.lang.String lookup​(java.lang.String query,
                                       boolean preferUnicode,
                                       boolean fullOutput)
        Performs a WHOIS lookup on a plaintext query string.