Class ConfluenceJakartaMultiPartRequest

  • All Implemented Interfaces:
    org.apache.struts2.dispatcher.multipart.MultiPartRequest

    public class ConfluenceJakartaMultiPartRequest
    extends org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static List<String> SIZE_LIMIT_EXEMPT_URLS  
      static String STRUTS_MULTIPART_MAX_FILE_SIZE  
      • Fields inherited from class org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest

        files, params
      • Fields inherited from class org.apache.struts2.dispatcher.multipart.AbstractMultiPartRequest

        BUFFER_SIZE, bufferSize, defaultEncoding, defaultLocale, errors, maxSize, maxSizeProvided
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.commons.fileupload.servlet.ServletFileUpload createServletFileUpload​(org.apache.commons.fileupload.disk.DiskFileItemFactory fac)  
      void parse​(javax.servlet.http.HttpServletRequest request, String saveDir)  
      void setMaxFileSize​(String maxFileSize)  
      • Methods inherited from class org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest

        cleanUp, createDiskFileItemFactory, createRequestContext, getContentType, getFile, getFileNames, getFileParameterNames, getFilesystemName, getParameter, getParameterNames, getParameterValues, parseRequest, processFileField, processNormalFormField, processUpload
      • Methods inherited from class org.apache.struts2.dispatcher.multipart.AbstractMultiPartRequest

        buildErrorMessage, getCanonicalName, getErrors, setBufferSize, setDefaultEncoding, setLocale, setLocaleProviderFactory, setMaxSize
    • Field Detail

      • SIZE_LIMIT_EXEMPT_URLS

        public static final List<String> SIZE_LIMIT_EXEMPT_URLS
    • Method Detail

      • setMaxFileSize

        public void setMaxFileSize​(String maxFileSize)
      • createServletFileUpload

        protected org.apache.commons.fileupload.servlet.ServletFileUpload createServletFileUpload​(org.apache.commons.fileupload.disk.DiskFileItemFactory fac)
        Overrides:
        createServletFileUpload in class org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
      • parse

        public void parse​(javax.servlet.http.HttpServletRequest request,
                          String saveDir)
                   throws IOException
        Specified by:
        parse in interface org.apache.struts2.dispatcher.multipart.MultiPartRequest
        Overrides:
        parse in class org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
        Throws:
        IOException