Class MultipartDef
java.lang.Object
org.apache.tomcat.util.descriptor.web.MultipartDef
- All Implemented Interfaces:
Serializable
Representation of the multipart configuration for a servlet.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the file size threshold.Get the location.Get the maximum file size.Get the maximum request size.inthashCode()voidsetFileSizeThreshold(String fileSizeThreshold) Set the file size threshold.voidsetLocation(String location) Set the location.voidsetMaxFileSize(String maxFileSize) Set the maximum file size.voidsetMaxRequestSize(String maxRequestSize) Set the maximum request size.
-
Constructor Details
-
MultipartDef
public MultipartDef()Default constructor.
-
-
Method Details
-
getLocation
-
setLocation
-
getMaxFileSize
-
setMaxFileSize
Set the maximum file size.- Parameters:
maxFileSize- the maximum file size
-
getMaxRequestSize
-
setMaxRequestSize
Set the maximum request size.- Parameters:
maxRequestSize- the maximum request size
-
getFileSizeThreshold
-
setFileSizeThreshold
Set the file size threshold.- Parameters:
fileSizeThreshold- the file size threshold
-
hashCode
-
equals
-