Class WhoisAction

java.lang.Object
google.registry.whois.WhoisAction
All Implemented Interfaces:
Runnable

public class WhoisAction extends Object implements Runnable
HTTP request handler for WHOIS protocol requests sent to us by a proxy.

All commands and responses conform to the WHOIS spec as defined in RFC 3912. Commands must be sent via an HTTP POST in the request body.

This action is meant to serve as a low level interface for the proxy app which forwards us requests received on port 43. However this interface is technically higher level because it sends back proper HTTP error codes such as 200, 400, 500, etc. These are discarded by the proxy because WHOIS specifies no manner for differentiating successful and erroneous requests.

See Also:
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable