public class ResourceWebScriptPost extends AbstractResourceWebScript implements ParamsExtractor
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetailsActionExecutor.ExecutionCallbackhelper, locatorCACHE_NEVER, encryptTempFiles, jsonHelper, maxContentSize, memoryThreshold, streamFactory, tempDirectoryName, transactionService, UTF8| Constructor and Description |
|---|
ResourceWebScriptPost() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ResourceWithMetadata resource,
Params params,
ActionExecutor.ExecutionCallback executionCallback)
Invokes the resource with the Params calling the callback onSuccess
|
Params |
extractParams(ResourceMetadata resourceMeta,
org.springframework.extensions.webscripts.WebScriptRequest req) |
protected void |
setSuccessResponseStatus(org.springframework.extensions.webscripts.WebScriptResponse res)
The response status must be set before the response is written by Jackson (which will by default close and commit the response).
|
execute, findExecutor, getHttpMethod, renderJsonResponse, setHelper, setHttpMethod, setLocator, setParamsExtractor, setStreamer, streamResponseexecute, getRequest, getResponse, init, renderErrorResponse, resolveException, setContentInfoOnResponse, setDefaultResolver, setEncryptTempFiles, setJsonHelper, setMaxContentSize, setMemoryThreshold, setResolver, setStreamFactory, setTempDirectoryName, setTransactionServiceaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHttpMethodpublic Params extractParams(ResourceMetadata resourceMeta, org.springframework.extensions.webscripts.WebScriptRequest req)
extractParams in interface ParamsExtractorpublic void execute(ResourceWithMetadata resource, Params params, ActionExecutor.ExecutionCallback executionCallback)
ActionExecutorexecute in interface ActionExecutorprotected void setSuccessResponseStatus(org.springframework.extensions.webscripts.WebScriptResponse res)
AbstractResourceWebScriptsetSuccessResponseStatus in class AbstractResourceWebScriptCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.