Class CheckApiAction

java.lang.Object
google.registry.flows.CheckApiAction
All Implemented Interfaces:
Runnable

public class CheckApiAction extends Object implements Runnable
An action that returns availability and premium checks as JSON.

This action returns plain JSON without a safety prefix, so it's vital that the output not be user controlled, lest it open an XSS vector. Do not modify this to return the domain name in the response.

  • Method Details

    • run

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