Package com.google.refine.commands.expr
Class PreviewExpressionCommand
java.lang.Object
com.google.refine.commands.Command
com.google.refine.commands.expr.PreviewExpressionCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static interfaceprotected static classprotected static classNested 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) The command uses POST but does not actually modify any state so it does not require CSRF.protected static voidwriteValue(StringBuffer sb, Object v, boolean quote) 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
-
PreviewExpressionCommand
public PreviewExpressionCommand()
-
-
Method Details
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException The command uses POST but does not actually modify any state so it does not require CSRF.- Overrides:
doPostin classCommand- Throws:
javax.servlet.ServletExceptionIOException
-
writeValue
-