public abstract class ApiWebScript
extends org.springframework.extensions.webscripts.AbstractWebScript
Modifier and Type | Field and Description |
---|---|
protected ApiAssistant |
assistant |
protected boolean |
encryptTempFiles |
protected long |
maxContentSize |
protected int |
memoryThreshold |
protected org.apache.chemistry.opencmis.server.shared.TempStoreOutputStreamFactory |
streamFactory |
protected String |
tempDirectoryName |
protected TransactionService |
transactionService |
Constructor and Description |
---|
ApiWebScript() |
Modifier and Type | Method and Description |
---|---|
abstract void |
execute(Api api,
org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
void |
execute(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
protected BufferedRequest |
getRequest(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected BufferedResponse |
getResponse(org.springframework.extensions.webscripts.WebScriptResponse resp) |
void |
init() |
void |
setAssistant(ApiAssistant assistant) |
void |
setEncryptTempFiles(boolean encryptTempFiles) |
void |
setMaxContentSize(long maxContentSize) |
void |
setMemoryThreshold(int memoryThreshold) |
void |
setStreamFactory(org.apache.chemistry.opencmis.server.shared.TempStoreOutputStreamFactory streamFactory) |
void |
setTempDirectoryName(String tempDirectoryName) |
void |
setTransactionService(TransactionService transactionService) |
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
protected ApiAssistant assistant
protected boolean encryptTempFiles
protected String tempDirectoryName
protected int memoryThreshold
protected long maxContentSize
protected org.apache.chemistry.opencmis.server.shared.TempStoreOutputStreamFactory streamFactory
protected TransactionService transactionService
public void setTransactionService(TransactionService transactionService)
public void setAssistant(ApiAssistant assistant)
public void setTempDirectoryName(String tempDirectoryName)
public void setEncryptTempFiles(boolean encryptTempFiles)
public void setMemoryThreshold(int memoryThreshold)
public void setMaxContentSize(long maxContentSize)
public void setStreamFactory(org.apache.chemistry.opencmis.server.shared.TempStoreOutputStreamFactory streamFactory)
public void init()
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
IOException
protected BufferedRequest getRequest(org.springframework.extensions.webscripts.WebScriptRequest req)
protected BufferedResponse getResponse(org.springframework.extensions.webscripts.WebScriptResponse resp)
public abstract void execute(Api api, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.