public class MultipartConfig
extends java.lang.Object
Java class for multipart-configType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="multipart-configType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="location" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/> <element name="max-file-size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> <element name="max-request-size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> <element name="file-size-threshold" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected int |
fileSizeThreshold |
protected java.lang.String |
location |
protected long |
maxFileSize |
protected long |
maxRequestSize |
Constructor and Description |
---|
MultipartConfig() |
Modifier and Type | Method and Description |
---|---|
int |
getFileSizeThreshold() |
java.lang.String |
getLocation() |
long |
getMaxFileSize() |
long |
getMaxRequestSize() |
void |
setFileSizeThreshold(int value) |
void |
setLocation(java.lang.String value) |
void |
setMaxFileSize(long value) |
void |
setMaxRequestSize(long value) |
protected java.lang.String location
protected long maxFileSize
protected long maxRequestSize
protected int fileSizeThreshold
public java.lang.String getLocation()
public void setLocation(java.lang.String value)
public long getMaxFileSize()
public void setMaxFileSize(long value)
public long getMaxRequestSize()
public void setMaxRequestSize(long value)
public int getFileSizeThreshold()
public void setFileSizeThreshold(int value)