Package org.openrefine.commands
Class GetAllPreferencesCommand
- java.lang.Object
-
- org.openrefine.commands.Command
-
- org.openrefine.commands.GetAllPreferencesCommand
-
public class GetAllPreferencesCommand 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 GetAllPreferencesCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoGet(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 org.openrefine.commands.Command
addHistoryEntryAndRespond, doDelete, doPut, getEngine, getEngineConfig, getIntegerParameter, getLongParameter, getProject, getProjectMetadata, getSortingConfig, hasValidCSRFToken, hasValidCSRFTokenAsGET, init, logRequests, redirect, respondCSRFError, respondError, respondError, respondJSON, respondJSON, respondOK, respondWithErrorPage
-
-
-
-
Method Detail
-
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, IOExceptionPOST 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
-
-