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
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>SIZE_LIMIT_EXEMPT_URLSstatic StringSTRUTS_MULTIPART_MAX_FILE_SIZE
-
Constructor Summary
Constructors Constructor Description ConfluenceJakartaMultiPartRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.commons.fileupload.servlet.ServletFileUploadcreateServletFileUpload(org.apache.commons.fileupload.disk.DiskFileItemFactory fac)voidparse(javax.servlet.http.HttpServletRequest request, String saveDir)voidsetMaxFileSize(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
-
-
-
-
Field Detail
-
STRUTS_MULTIPART_MAX_FILE_SIZE
public static final String STRUTS_MULTIPART_MAX_FILE_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfluenceJakartaMultiPartRequest
public ConfluenceJakartaMultiPartRequest()
- See Also:
GeneralConfigurationAction.execute()
-
-
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:
createServletFileUploadin classorg.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
-
parse
public void parse(javax.servlet.http.HttpServletRequest request, String saveDir) throws IOException- Specified by:
parsein interfaceorg.apache.struts2.dispatcher.multipart.MultiPartRequest- Overrides:
parsein classorg.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest- Throws:
IOException
-
-