java.lang.Object
cloud.piranha.core.api.WebXmlServletMultipartConfig
A servlet multipart-config inside of web.xml/web-fragment.xml.
- Author:
- Manfred Riem ([email protected]), Arjan Tijms
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the file size threshold.Get the location.long
Get the max file size.long
Get the max request size.void
setFileSizeThreshold
(int fileSizeThreshold) Set the file size threshold.void
setLocation
(String location) Set the location.void
setMaxFileSize
(long maxFileSize) Set the max file size.void
setMaxRequestSize
(long maxRequestSize) Set the max request size.
-
Constructor Details
-
WebXmlServletMultipartConfig
public WebXmlServletMultipartConfig()
-
-
Method Details
-
getLocation
Get the location.- Returns:
- the location.
-
getMaxFileSize
public long getMaxFileSize()Get the max file size.- Returns:
- the max file size.
-
getMaxRequestSize
public long getMaxRequestSize()Get the max request size.- Returns:
- the max request size.
-
getFileSizeThreshold
public int getFileSizeThreshold()Get the file size threshold.- Returns:
- the file size threshold.
-
setLocation
Set the location.- Parameters:
location
- the location.
-
setMaxFileSize
public void setMaxFileSize(long maxFileSize) Set the max file size.- Parameters:
maxFileSize
- the max file size.
-
setMaxRequestSize
public void setMaxRequestSize(long maxRequestSize) Set the max request size.- Parameters:
maxRequestSize
- the max request size.
-
setFileSizeThreshold
public void setFileSizeThreshold(int fileSizeThreshold) Set the file size threshold.- Parameters:
fileSizeThreshold
- the file size threshold.
-