MultipartConfig

Class represntation of an {@link MultipartConfig} annotation value.

@since Servlet 3.0

Constructors

this
this(string location)

Constructs an instance with defaults for all but location.

this
this(string location, long maxFileSize, long maxRequestSize, int fileSizeThreshold)

Constructs an instance with all values specified.

Members

Functions

getFileSizeThreshold
int getFileSizeThreshold()

Gets the size threshold after which files will be written to disk.

getLocation
string getLocation()

Gets the directory location where files will be stored.

getMaxFileSize
long getMaxFileSize()

Gets the maximum size allowed for uploaded files.

getMaxRequestSize
long getMaxRequestSize()

Gets the maximum size allowed for multipart/form-data requests.

Meta