Package org.openrefine.commands.project
Class ExportRowsCommand
- java.lang.Object
-
- org.openrefine.commands.Command
-
- org.openrefine.commands.project.ExportRowsCommand
-
public class ExportRowsCommand 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, servlet
-
-
Constructor Summary
Constructors Constructor Description ExportRowsCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static Properties
getRequestParameters(javax.servlet.http.HttpServletRequest request)
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
-
getRequestParameters
public static Properties getRequestParameters(javax.servlet.http.HttpServletRequest request)
This command uses POST but is left CSRF-unprotected as it does not incur a state change.
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
doPost
in classCommand
- Throws:
javax.servlet.ServletException
IOException
-
-