Class ConfluenceJakartaMultiPartRequest
- java.lang.Object
-
- org.apache.struts2.dispatcher.multipart.AbstractMultiPartRequest
-
- org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
-
- com.atlassian.confluence.impl.struts.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
-
-
Constructor Summary
Constructors Constructor Description ConfluenceJakartaMultiPartRequest()
-
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
-
-
-
-
Method Detail
-
parse
public void parse(javax.servlet.http.HttpServletRequest request, String saveDir) throws IOException
- Specified by:
parse
in interfaceorg.apache.struts2.dispatcher.multipart.MultiPartRequest
- Overrides:
parse
in classorg.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
- Throws:
IOException
-
-