MultipartOptions

Class represntation of an {@link MultipartConfig} value.

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.

isWriteFilesWithFilenames
bool isWriteFilesWithFilenames()
Undocumented in source. Be warned that the author may not have intended to support it.
setWriteFilesWithFilenames
void setWriteFilesWithFilenames(bool writeFilesWithFilenames)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Default
MultipartOptions Default()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta