Package com.google.refine.commands
Class GetAllPreferencesCommand
java.lang.Object
com.google.refine.commands.Command
com.google.refine.commands.GetAllPreferencesCommand
-
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) voiddoPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) POST is supported but does not actually change any state so we do not add CSRF protection to it.Methods inherited from class com.google.refine.commands.Command
doDelete, doHead, doPut, getEngine, getEngineConfig, getIntegerParameter, getProject, getProjectMetadata, hasValidCSRFToken, hasValidCSRFTokenAsGET, init, logRequests, performProcessAndRespond, redirect, respond, respond, respondCSRFError, respondException, respondJSON, respondJSON, respondWithErrorPage
-
Constructor Details
-
GetAllPreferencesCommand
public GetAllPreferencesCommand()
-
-
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
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException POST is supported but does not actually change any state so we do not add CSRF protection to it. Extensions and the UI still uses POST 2023-04-03.- Overrides:
doPostin classCommand- Throws:
javax.servlet.ServletExceptionIOException
-