Package com.google.refine.commands
Class GetCSRFTokenCommand
java.lang.Object
com.google.refine.commands.Command
com.google.refine.commands.GetCSRFTokenCommand
Generates a fresh CSRF token.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.refine.commands.Command
Command.HistoryEntryResponse -
Field Summary
Fields inherited from class com.google.refine.commands.Command
csrfFactory, logger, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Methods inherited from class com.google.refine.commands.Command
doDelete, doHead, doPost, doPut, getEngine, getEngineConfig, getIntegerParameter, getProject, getProjectMetadata, hasValidCSRFToken, hasValidCSRFTokenAsGET, init, logRequests, performProcessAndRespond, redirect, respond, respond, respondCSRFError, respondException, respondJSON, respondJSON, respondWithErrorPage
-
Constructor Details
-
GetCSRFTokenCommand
public GetCSRFTokenCommand()
-
-
Method Details
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException - Overrides:
doGetin classCommand- Throws:
javax.servlet.ServletExceptionIOException
-