@Target(TYPE)
@Retention(RUNTIME)
public @interface MultipartConfig
The MultipartConfig API.
- Author:
- Manfred Riem ([email protected])
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
fileSizeThreshold
Get the file size threshold.java.lang.String
location
Get the storage location.long
maxFileSize
Get the maximum file size.long
maxRequestSize
Get the maximum POST body request size.
-
Element Details
-
fileSizeThreshold
int fileSizeThresholdGet the file size threshold.- Returns:
- the file size threshold.
- Default:
- 0
-
location
java.lang.String locationGet the storage location.- Returns:
- the storage location.
- Default:
- ""
-
maxFileSize
long maxFileSizeGet the maximum file size.- Returns:
- the maximum file size, or -1 for unlimited.
- Default:
- -1L
-
maxRequestSize
long maxRequestSizeGet the maximum POST body request size.- Returns:
- the maximum POST body request size.
- Default:
- -1L
-