public class KualiMultipartRequestHandler extends org.apache.struts.upload.CommonsMultipartRequestHandler
Constructor and Description |
---|
KualiMultipartRequestHandler() |
Modifier and Type | Method and Description |
---|---|
long |
calculateMaxUploadSizeToMaxOfList(List<String> sizes) |
long |
getSizeMax(org.apache.struts.config.ModuleConfig mc)
Returns the maximum allowable size, in bytes, of an uploaded file.
|
String |
getSizeMaxString() |
void |
setMaxUploadSizeToMaxOfList(List<String> sizes)
Sets the max size string to the item in the list that represents the largest size.
|
void |
setSizeMax(String sizeString) |
addFileParameter, addTextParameter, convertSizeToBytes, finish, getAllElements, getFileElements, getMapping, getRepositoryPath, getServlet, getSizeThreshold, getTextElements, handleRequest, rollback, setMapping, setServlet
public KualiMultipartRequestHandler()
public long getSizeMax(org.apache.struts.config.ModuleConfig mc)
getSizeMax
in class org.apache.struts.upload.CommonsMultipartRequestHandler
mc
- The current module's configuration.public String getSizeMaxString()
public void setSizeMax(String sizeString)
public void setMaxUploadSizeToMaxOfList(List<String> sizes)
public long calculateMaxUploadSizeToMaxOfList(List<String> sizes)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.