Class ApiWebScript

    • Field Detail

      • encryptTempFiles

        protected boolean encryptTempFiles
      • tempDirectoryName

        protected String tempDirectoryName
      • memoryThreshold

        protected int memoryThreshold
      • maxContentSize

        protected long maxContentSize
      • streamFactory

        protected org.apache.chemistry.opencmis.server.shared.TempStoreOutputStreamFactory streamFactory
    • Constructor Detail

      • ApiWebScript

        public ApiWebScript()
    • Method Detail

      • setTransactionService

        public void setTransactionService​(TransactionService transactionService)
      • setAssistant

        public void setAssistant​(ApiAssistant assistant)
      • setTempDirectoryName

        public void setTempDirectoryName​(String tempDirectoryName)
      • setEncryptTempFiles

        public void setEncryptTempFiles​(boolean encryptTempFiles)
      • setMemoryThreshold

        public void setMemoryThreshold​(int memoryThreshold)
      • setMaxContentSize

        public void setMaxContentSize​(long maxContentSize)
      • setStreamFactory

        public void setStreamFactory​(org.apache.chemistry.opencmis.server.shared.TempStoreOutputStreamFactory streamFactory)
      • init

        public void init()
      • execute

        public void execute​(org.springframework.extensions.webscripts.WebScriptRequest req,
                            org.springframework.extensions.webscripts.WebScriptResponse res)
                     throws IOException
        Throws:
        IOException
      • getRequest

        protected BufferedRequest getRequest​(org.springframework.extensions.webscripts.WebScriptRequest req)
      • getResponse

        protected BufferedResponse getResponse​(org.springframework.extensions.webscripts.WebScriptResponse resp)
      • execute

        public abstract void execute​(Api api,
                                     org.springframework.extensions.webscripts.WebScriptRequest req,
                                     org.springframework.extensions.webscripts.WebScriptResponse res)
                              throws IOException
        Throws:
        IOException