Package javax.servlet.annotation
Annotation Type MultipartConfig
-
@Target(TYPE) @Retention(RUNTIME) public @interface MultipartConfigAnnotation that may be specified on aServletclass, indicating that instances of the Servlet expect requests that conform to the multipart/form-data MIME type.Servlets annotated with MultipartConfig may retrieve the
Partcomponents of a given multipart/form-data request by callinggetPartorgetParts.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intfileSizeThresholdThe size threshold after which the file will be written to diskjava.lang.StringlocationThe directory location where files will be storedlongmaxFileSizeThe maximum size allowed for uploaded files.longmaxRequestSizeThe maximum size allowed for multipart/form-data requests
-