Class SavedConnectionCommand
- java.lang.Object
-
- org.openrefine.commands.Command
-
- org.openrefine.extension.database.cmd.DatabaseCommand
-
- org.openrefine.extension.database.cmd.SavedConnectionCommand
-
public class SavedConnectionCommand extends DatabaseCommand
-
-
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 SavedConnectionCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Add a new Saved JDBC connection configurationvoid
doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class org.openrefine.extension.database.cmd.DatabaseCommand
getJdbcConfiguration, sendError, sendError
-
Methods inherited from class org.openrefine.commands.Command
addHistoryEntryAndRespond, 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:
doGet
in classCommand
- Throws:
javax.servlet.ServletException
IOException
-
doDelete
public void doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
doDelete
in classCommand
- Throws:
javax.servlet.ServletException
IOException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
Add a new Saved JDBC connection configuration- Overrides:
doPost
in classCommand
- Throws:
javax.servlet.ServletException
IOException
-
doPut
public void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
doPut
in classCommand
- Throws:
javax.servlet.ServletException
IOException
-
-