org.glassfish.grizzly.servlet.ver30
Class MultipartConfigType

java.lang.Object
  extended by org.glassfish.grizzly.servlet.ver30.MultipartConfigType

public class MultipartConfigType
extends java.lang.Object

This element specifies configuration information related to the handling of multipart/form-data requests.

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  java.math.BigInteger fileSizeThreshold
           
protected  String location
           
protected  java.lang.Long maxFileSize
           
protected  java.lang.Long maxRequestSize
           
 
Constructor Summary
MultipartConfigType()
           
 
Method Summary
 java.math.BigInteger getFileSizeThreshold()
          Gets the value of the fileSizeThreshold property.
 String getLocation()
          Gets the value of the location property.
 java.lang.Long getMaxFileSize()
          Gets the value of the maxFileSize property.
 java.lang.Long getMaxRequestSize()
          Gets the value of the maxRequestSize property.
 void setFileSizeThreshold(java.math.BigInteger value)
          Sets the value of the fileSizeThreshold property.
 void setLocation(String value)
          Sets the value of the location property.
 void setMaxFileSize(java.lang.Long value)
          Sets the value of the maxFileSize property.
 void setMaxRequestSize(java.lang.Long value)
          Sets the value of the maxRequestSize property.
 
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 java.lang.Long maxFileSize

maxRequestSize

protected java.lang.Long maxRequestSize

fileSizeThreshold

protected java.math.BigInteger fileSizeThreshold
Constructor Detail

MultipartConfigType

public MultipartConfigType()
Method Detail

getLocation

public String getLocation()
Gets the value of the location property.

Returns:
possible object is String

setLocation

public void setLocation(String value)
Sets the value of the location property.

Parameters:
value - allowed object is String

getMaxFileSize

public java.lang.Long getMaxFileSize()
Gets the value of the maxFileSize property.

Returns:
possible object is Long

setMaxFileSize

public void setMaxFileSize(java.lang.Long value)
Sets the value of the maxFileSize property.

Parameters:
value - allowed object is Long

getMaxRequestSize

public java.lang.Long getMaxRequestSize()
Gets the value of the maxRequestSize property.

Returns:
possible object is Long

setMaxRequestSize

public void setMaxRequestSize(java.lang.Long value)
Sets the value of the maxRequestSize property.

Parameters:
value - allowed object is Long

getFileSizeThreshold

public java.math.BigInteger getFileSizeThreshold()
Gets the value of the fileSizeThreshold property.

Returns:
possible object is BigInteger

setFileSizeThreshold

public void setFileSizeThreshold(java.math.BigInteger value)
Sets the value of the fileSizeThreshold property.

Parameters:
value - allowed object is BigInteger


Copyright © 2011 Oracle Corpration. All Rights Reserved.