Package org.openrefine.wikibase.commands
Class ParseWikibaseSchemaCommand
- java.lang.Object
-
- org.openrefine.commands.Command
-
- org.openrefine.wikibase.commands.ParseWikibaseSchemaCommand
-
public class ParseWikibaseSchemaCommand extends Command
Command to check whether a given schema template is syntactically valid. This uses POST because schema templates can be large, but it is not making any changes to the application state, so we are not CSRF-protecting this one.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ParseWikibaseSchemaCommand.WikibaseSchemaTemplate
-
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 ParseWikibaseSchemaCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
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
-
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
-
-