org.eclipse.modisco.jee.webapp.webapp30
Interface MultipartConfigType


public interface MultipartConfigType

A representation of the model object 'Multipart Config Type'. This element specifies configuration information related to the handling of multipart/form-data requests.

The following features are supported:

See Also:
Webapp30Package.getMultipartConfigType()
Generated:
Model:
extendedMetaData="name='multipart-configType' kind='elementOnly'"

Method Summary
 java.math.BigInteger getFileSizeThreshold()
          Returns the value of the 'File Size Threshold' attribute.
 String getLocation()
          Returns the value of the 'Location' containment reference.
 long getMaxFileSize()
          Returns the value of the 'Max File Size' attribute.
 long getMaxRequestSize()
          Returns the value of the 'Max Request Size' attribute.
 boolean isSetMaxFileSize()
          Returns whether the value of the 'Max File Size' attribute is set.
 boolean isSetMaxRequestSize()
          Returns whether the value of the 'Max Request Size' attribute is set.
 void setFileSizeThreshold(java.math.BigInteger value)
          Sets the value of the 'File Size Threshold' attribute.
 void setLocation(String value)
          Sets the value of the 'Location' containment reference.
 void setMaxFileSize(long value)
          Sets the value of the 'Max File Size' attribute.
 void setMaxRequestSize(long value)
          Sets the value of the 'Max Request Size' attribute.
 void unsetMaxFileSize()
          Unsets the value of the 'Max File Size' attribute.
 void unsetMaxRequestSize()
          Unsets the value of the 'Max Request Size' attribute.
 

Method Detail

getLocation

String getLocation()
Returns the value of the 'Location' containment reference. The directory location where uploaded files will be stored

Returns:
the value of the 'Location' containment reference.
See Also:
setLocation(org.eclipse.modisco.jee.webapp.webapp30.String), Webapp30Package.getMultipartConfigType_Location()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='location' namespace='http://java.sun.com/xml/ns/javaee'"

setLocation

void setLocation(String value)
Sets the value of the 'Location' containment reference.

Parameters:
value - the new value of the 'Location' containment reference.
See Also:
getLocation()
Generated:

getMaxFileSize

long getMaxFileSize()
Returns the value of the 'Max File Size' attribute. The maximum size limit of uploaded files

Returns:
the value of the 'Max File Size' attribute.
See Also:
isSetMaxFileSize(), unsetMaxFileSize(), setMaxFileSize(long), Webapp30Package.getMultipartConfigType_MaxFileSize()
Generated:
Model:
unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" extendedMetaData="kind='element' name='max-file-size' namespace='http://java.sun.com/xml/ns/javaee'"

setMaxFileSize

void setMaxFileSize(long value)
Sets the value of the 'Max File Size' attribute.

Parameters:
value - the new value of the 'Max File Size' attribute.
See Also:
isSetMaxFileSize(), unsetMaxFileSize(), getMaxFileSize()
Generated:

unsetMaxFileSize

void unsetMaxFileSize()
Unsets the value of the 'Max File Size' attribute.

See Also:
isSetMaxFileSize(), getMaxFileSize(), setMaxFileSize(long)
Generated:

isSetMaxFileSize

boolean isSetMaxFileSize()
Returns whether the value of the 'Max File Size' attribute is set.

Returns:
whether the value of the 'Max File Size' attribute is set.
See Also:
unsetMaxFileSize(), getMaxFileSize(), setMaxFileSize(long)
Generated:

getMaxRequestSize

long getMaxRequestSize()
Returns the value of the 'Max Request Size' attribute. The maximum size limit of multipart/form-data requests

Returns:
the value of the 'Max Request Size' attribute.
See Also:
isSetMaxRequestSize(), unsetMaxRequestSize(), setMaxRequestSize(long), Webapp30Package.getMultipartConfigType_MaxRequestSize()
Generated:
Model:
unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long" extendedMetaData="kind='element' name='max-request-size' namespace='http://java.sun.com/xml/ns/javaee'"

setMaxRequestSize

void setMaxRequestSize(long value)
Sets the value of the 'Max Request Size' attribute.

Parameters:
value - the new value of the 'Max Request Size' attribute.
See Also:
isSetMaxRequestSize(), unsetMaxRequestSize(), getMaxRequestSize()
Generated:

unsetMaxRequestSize

void unsetMaxRequestSize()
Unsets the value of the 'Max Request Size' attribute.

See Also:
isSetMaxRequestSize(), getMaxRequestSize(), setMaxRequestSize(long)
Generated:

isSetMaxRequestSize

boolean isSetMaxRequestSize()
Returns whether the value of the 'Max Request Size' attribute is set.

Returns:
whether the value of the 'Max Request Size' attribute is set.
See Also:
unsetMaxRequestSize(), getMaxRequestSize(), setMaxRequestSize(long)
Generated:

getFileSizeThreshold

java.math.BigInteger getFileSizeThreshold()
Returns the value of the 'File Size Threshold' attribute. The size threshold after which an uploaded file will be written to disk

Returns:
the value of the 'File Size Threshold' attribute.
See Also:
setFileSizeThreshold(BigInteger), Webapp30Package.getMultipartConfigType_FileSizeThreshold()
Generated:
Model:
dataType="org.eclipse.emf.ecore.xml.type.Integer" extendedMetaData="kind='element' name='file-size-threshold' namespace='http://java.sun.com/xml/ns/javaee'"

setFileSizeThreshold

void setFileSizeThreshold(java.math.BigInteger value)
Sets the value of the 'File Size Threshold' attribute.

Parameters:
value - the new value of the 'File Size Threshold' attribute.
See Also:
getFileSizeThreshold()
Generated: