Class GetModelsCommand

java.lang.Object
com.google.refine.commands.Command
com.google.refine.commands.project.GetModelsCommand

public class GetModelsCommand extends Command
  • Constructor Details

    • GetModelsCommand

      public GetModelsCommand()
  • Method Details

    • doPost

      public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      This command uses POST but is left CSRF-unprotected as it does not incur a state change.
      Overrides:
      doPost in class Command
      Throws:
      javax.servlet.ServletException
      IOException
    • doGet

      public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Overrides:
      doGet in class Command
      Throws:
      javax.servlet.ServletException
      IOException
    • internalRespond

      protected void internalRespond(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Throws:
      javax.servlet.ServletException
      IOException