public class MultipartConfigParameters
extends java.lang.Object
MultipartConfigElement
.OddjobWebHandler
Constructor and Description |
---|
MultipartConfigParameters() |
Modifier and Type | Method and Description |
---|---|
int |
getFileSizeThreshold() |
java.lang.String |
getLocation() |
long |
getMaxFileSize() |
long |
getMaxRequestSize() |
void |
setFileSizeThreshold(int fileSizeThresholdK) |
void |
setLocation(java.lang.String location) |
void |
setMaxFileSize(long maxFileSize) |
void |
setMaxRequestSize(long maxRequestSizeK) |
javax.servlet.MultipartConfigElement |
toMultipartConfigElement() |
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
public long getMaxFileSize()
public void setMaxFileSize(long maxFileSize)
public long getMaxRequestSize()
public void setMaxRequestSize(long maxRequestSizeK)
public int getFileSizeThreshold()
public void setFileSizeThreshold(int fileSizeThresholdK)
public javax.servlet.MultipartConfigElement toMultipartConfigElement()