public class MultipartConfig extends 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 String |
location |
protected long |
maxFileSize |
protected long |
maxRequestSize |
| Constructor and Description |
|---|
MultipartConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFileSizeThreshold() |
String |
getLocation() |
long |
getMaxFileSize() |
long |
getMaxRequestSize() |
void |
setFileSizeThreshold(int value) |
void |
setLocation(String value) |
void |
setMaxFileSize(long value) |
void |
setMaxRequestSize(long value) |
protected String location
protected long maxFileSize
protected long maxRequestSize
protected int fileSizeThreshold
public String getLocation()
public void setLocation(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)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.