Class ConfluenceJakartaMultiPartRequest

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

    public class ConfluenceJakartaMultiPartRequest
    extends org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
    This subclass implements the following additional capabilities:
    • Maps max file size to Confluence global attachment size limit
    • Exempts certain URLs from the multipart request size limits
    • Field Summary

      • 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, maxFiles, maxFileSize, maxSize, maxStringLength
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static List<Pattern> buildPatternsList​(String patterns, String separator)  
      void parse​(javax.servlet.http.HttpServletRequest request, String saveDir)  
      • Methods inherited from class org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest

        cleanUp, createDiskFileItemFactory, createRequestContext, createServletFileUpload, 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, setMaxFiles, setMaxFileSize, setMaxSize, setMaxStringLength
    • Constructor Detail

      • ConfluenceJakartaMultiPartRequest

        public ConfluenceJakartaMultiPartRequest()
    • Method Detail

      • 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