Class ComputeFacetsCommand
java.lang.Object
com.google.refine.commands.Command
com.google.refine.commands.browsing.ComputeFacetsCommand
-
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 TypeMethodDescriptionvoiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) This command uses POST (probably to allow for larger parameters) but does not actually modify any state so we do not add CSRF protection to it.Methods inherited from class com.google.refine.commands.Command
doDelete, doGet, doPut, getEngine, getEngineConfig, getIntegerParameter, getProject, getProjectMetadata, hasValidCSRFToken, hasValidCSRFTokenAsGET, init, logRequests, performProcessAndRespond, redirect, respond, respond, respondCSRFError, respondException, respondJSON, respondJSON, respondWithErrorPage
-
Constructor Details
-
ComputeFacetsCommand
public ComputeFacetsCommand()
-
-
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 (probably to allow for larger parameters) but does not actually modify any state so we do not add CSRF protection to it.- Overrides:
doPostin classCommand- Throws:
javax.servlet.ServletExceptionIOException
-