Package org.openrefine.commands.project
Class ExportProjectCommand
- java.lang.Object
-
- org.openrefine.commands.Command
-
- org.openrefine.commands.project.ExportProjectCommand
-
public class ExportProjectCommand extends Command
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openrefine.commands.Command
Command.HistoryEntryResponse
-
-
Field Summary
-
Fields inherited from class org.openrefine.commands.Command
csrfFactory, logger, servlet
-
-
Constructor Summary
Constructors Constructor Description ExportProjectCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
This command uses POST but is left CSRF-unprotected as it does not incur a state change.-
Methods inherited from class org.openrefine.commands.Command
addHistoryEntryAndRespond, doDelete, doGet, doPut, getEngine, getEngineConfig, getIntegerParameter, getLongParameter, getProject, getProjectMetadata, getSortingConfig, hasValidCSRFToken, hasValidCSRFTokenAsGET, init, logRequests, redirect, respondCSRFError, respondError, respondError, respondJSON, respondJSON, respondOK, respondWithErrorPage
-
-
-
-
Method Detail
-
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 classCommand
- Throws:
javax.servlet.ServletException
IOException
-
-