Package javax.servlet.annotation
Annotation Type MultipartConfig
-
@Target(TYPE) @Retention(RUNTIME) public @interface MultipartConfigAnnotation that may be specified on aServletclass, indicating that instances of theServletexpect requests that conform to themultipart/form-dataMIME type.Servlets annotated with
MultipartConfigmay retrieve thePartcomponents of a givenmultipart/form-datarequest 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 formultipart/form-datarequests
-