Class AbstractResourceWebScript

    • Constructor Detail

      • AbstractResourceWebScript

        public AbstractResourceWebScript()
    • Method Detail

      • execute

        public void execute​(Api api,
                            org.springframework.extensions.webscripts.WebScriptRequest req,
                            org.springframework.extensions.webscripts.WebScriptResponse res)
                     throws java.io.IOException
        Specified by:
        execute in class ApiWebScript
        Throws:
        java.io.IOException
      • execute

        public java.lang.Object execute​(ResourceWithMetadata resource,
                                        Params params,
                                        org.springframework.extensions.webscripts.WebScriptResponse res,
                                        boolean isReadOnly)
      • getTransactionHelper

        protected org.alfresco.repo.transaction.RetryingTransactionHelper getTransactionHelper​(java.lang.String api)
      • streamResponse

        protected void streamResponse​(org.springframework.extensions.webscripts.WebScriptRequest req,
                                      org.springframework.extensions.webscripts.WebScriptResponse res,
                                      BinaryResource resource)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • setHttpMethod

        public void setHttpMethod​(org.springframework.http.HttpMethod httpMethod)
      • setParamsExtractor

        public void setParamsExtractor​(ParamsExtractor paramsExtractor)