Package org.oddjob.jetty
Class MultipartConfigParameters
java.lang.Object
org.oddjob.jetty.MultipartConfigParameters
Bean to provide configuration for an
MultipartConfigElement.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlonglongvoidsetFileSizeThreshold(int fileSizeThresholdK) voidsetLocation(String location) voidsetMaxFileSize(long maxFileSize) voidsetMaxRequestSize(long maxRequestSizeK) javax.servlet.MultipartConfigElement
-
Constructor Details
-
MultipartConfigParameters
public MultipartConfigParameters()
-
-
Method Details
-
getLocation
-
setLocation
-
getMaxFileSize
public long getMaxFileSize() -
setMaxFileSize
public void setMaxFileSize(long maxFileSize) -
getMaxRequestSize
public long getMaxRequestSize() -
setMaxRequestSize
public void setMaxRequestSize(long maxRequestSizeK) -
getFileSizeThreshold
public int getFileSizeThreshold() -
setFileSizeThreshold
public void setFileSizeThreshold(int fileSizeThresholdK) -
toMultipartConfigElement
public javax.servlet.MultipartConfigElement toMultipartConfigElement()
-