Package org.apache.openejb.jee
Class MultipartConfig
- java.lang.Object
-
- org.apache.openejb.jee.MultipartConfig
-
public class MultipartConfig extends Object
web-common_3_0.xsdJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected intfileSizeThresholdprotected Stringlocationprotected longmaxFileSizeprotected longmaxRequestSize
-
Constructor Summary
Constructors Constructor Description MultipartConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFileSizeThreshold()StringgetLocation()longgetMaxFileSize()longgetMaxRequestSize()voidsetFileSizeThreshold(int value)voidsetLocation(String value)voidsetMaxFileSize(long value)voidsetMaxRequestSize(long value)
-
-
-
Field Detail
-
location
protected String location
-
maxFileSize
protected long maxFileSize
-
maxRequestSize
protected long maxRequestSize
-
fileSizeThreshold
protected int fileSizeThreshold
-
-
Method Detail
-
getLocation
public String getLocation()
-
setLocation
public void setLocation(String value)
-
getMaxFileSize
public long getMaxFileSize()
-
setMaxFileSize
public void setMaxFileSize(long value)
-
getMaxRequestSize
public long getMaxRequestSize()
-
setMaxRequestSize
public void setMaxRequestSize(long value)
-
getFileSizeThreshold
public int getFileSizeThreshold()
-
setFileSizeThreshold
public void setFileSizeThreshold(int value)
-
-