public class MultipartConfigType 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 BigInteger |
fileSizeThreshold |
protected String |
location |
protected Long |
maxFileSize |
protected Long |
maxRequestSize |
| Constructor and Description |
|---|
MultipartConfigType() |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getFileSizeThreshold()
Gets the value of the fileSizeThreshold property.
|
String |
getLocation()
Gets the value of the location property.
|
Long |
getMaxFileSize()
Gets the value of the maxFileSize property.
|
Long |
getMaxRequestSize()
Gets the value of the maxRequestSize property.
|
void |
setFileSizeThreshold(BigInteger value)
Sets the value of the fileSizeThreshold property.
|
void |
setLocation(String value)
Sets the value of the location property.
|
void |
setMaxFileSize(Long value)
Sets the value of the maxFileSize property.
|
void |
setMaxRequestSize(Long value)
Sets the value of the maxRequestSize property.
|
MultipartConfigType |
withFileSizeThreshold(BigInteger value) |
MultipartConfigType |
withLocation(String value) |
MultipartConfigType |
withMaxFileSize(Long value) |
MultipartConfigType |
withMaxRequestSize(Long value) |
protected String location
protected Long maxFileSize
protected Long maxRequestSize
protected BigInteger fileSizeThreshold
public String getLocation()
Stringpublic void setLocation(String value)
value - allowed object is
Stringpublic Long getMaxFileSize()
Longpublic void setMaxFileSize(Long value)
value - allowed object is
Longpublic Long getMaxRequestSize()
Longpublic void setMaxRequestSize(Long value)
value - allowed object is
Longpublic BigInteger getFileSizeThreshold()
BigIntegerpublic void setFileSizeThreshold(BigInteger value)
value - allowed object is
BigIntegerpublic MultipartConfigType withLocation(String value)
public MultipartConfigType withMaxFileSize(Long value)
public MultipartConfigType withMaxRequestSize(Long value)
public MultipartConfigType withFileSizeThreshold(BigInteger value)
Copyright © 2020. All rights reserved.