Module cloud.piranha.webapp.impl
Package cloud.piranha.webapp.impl
Class WebXmlServletMultipartConfig
java.lang.Object
cloud.piranha.webapp.impl.WebXmlServletMultipartConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the fileSizeThreshold.Returns the location.long
Returns the maxFileSize.long
Returns the maxRequestSize.void
setFileSizeThreshold(int fileSizeThreshold)
void
setLocation(String location)
void
setMaxFileSize(long maxFileSize)
void
setMaxRequestSize(long maxRequestSize)
-
Constructor Details
-
WebXmlServletMultipartConfig
public WebXmlServletMultipartConfig()
-
-
Method Details
-
getLocation
Returns the location.- Returns:
- the location
-
setLocation
- Parameters:
location
- the location to set
-
getMaxFileSize
public long getMaxFileSize()Returns the maxFileSize.- Returns:
- the maxFileSize
-
setMaxFileSize
public void setMaxFileSize(long maxFileSize)- Parameters:
maxFileSize
- the maxFileSize to set
-
getMaxRequestSize
public long getMaxRequestSize()Returns the maxRequestSize.- Returns:
- the maxRequestSize
-
setMaxRequestSize
public void setMaxRequestSize(long maxRequestSize)- Parameters:
maxRequestSize
- the maxRequestSize to set
-
getFileSizeThreshold
public int getFileSizeThreshold()Returns the fileSizeThreshold.- Returns:
- the fileSizeThreshold
-
setFileSizeThreshold
public void setFileSizeThreshold(int fileSizeThreshold)- Parameters:
fileSizeThreshold
- the fileSizeThreshold to set
-