Class MultipartDef
- java.lang.Object
-
- org.apache.tomcat.util.descriptor.web.MultipartDef
-
- All Implemented Interfaces:
java.io.Serializable
public class MultipartDef extends java.lang.Object implements java.io.SerializableRepresentation of the multipart configuration for a servlet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultipartDef()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetFileSizeThreshold()Get the file size threshold.java.lang.StringgetLocation()Get the location.java.lang.StringgetMaxFileSize()Get the maximum file size.java.lang.StringgetMaxRequestSize()Get the maximum request size.inthashCode()voidsetFileSizeThreshold(java.lang.String fileSizeThreshold)Set the file size threshold.voidsetLocation(java.lang.String location)Set the location.voidsetMaxFileSize(java.lang.String maxFileSize)Set the maximum file size.voidsetMaxRequestSize(java.lang.String maxRequestSize)Set the maximum request size.
-
-
-
Method Detail
-
getLocation
public java.lang.String getLocation()
Get the location.- Returns:
- the location
-
setLocation
public void setLocation(java.lang.String location)
Set the location.- Parameters:
location- the location
-
getMaxFileSize
public java.lang.String getMaxFileSize()
Get the maximum file size.- Returns:
- the maximum file size
-
setMaxFileSize
public void setMaxFileSize(java.lang.String maxFileSize)
Set the maximum file size.- Parameters:
maxFileSize- the maximum file size
-
getMaxRequestSize
public java.lang.String getMaxRequestSize()
Get the maximum request size.- Returns:
- the maximum request size
-
setMaxRequestSize
public void setMaxRequestSize(java.lang.String maxRequestSize)
Set the maximum request size.- Parameters:
maxRequestSize- the maximum request size
-
getFileSizeThreshold
public java.lang.String getFileSizeThreshold()
Get the file size threshold.- Returns:
- the file size threshold
-
setFileSizeThreshold
public void setFileSizeThreshold(java.lang.String fileSizeThreshold)
Set the file size threshold.- Parameters:
fileSizeThreshold- the file size threshold
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-