org.apache.openejb.jee
Class MultipartConfig

java.lang.Object
  extended by org.apache.openejb.jee.MultipartConfig

public class MultipartConfig
extends Object

web-common_3_0.xsd

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>
 


Field Summary
protected  int fileSizeThreshold
           
protected  String location
           
protected  long maxFileSize
           
protected  long maxRequestSize
           
 
Constructor Summary
MultipartConfig()
           
 
Method Summary
 int getFileSizeThreshold()
           
 String getLocation()
           
 long getMaxFileSize()
           
 long getMaxRequestSize()
           
 void setFileSizeThreshold(int value)
           
 void setLocation(String value)
           
 void setMaxFileSize(long value)
           
 void setMaxRequestSize(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

protected String location

maxFileSize

protected long maxFileSize

maxRequestSize

protected long maxRequestSize

fileSizeThreshold

protected int fileSizeThreshold
Constructor Detail

MultipartConfig

public MultipartConfig()
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)


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.