@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface FileItemUpload
Applies to properties of org.apache.commons.fileupload.FileItem type.
Example:
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
acceptFileTypes
Comma separated list of accepted mime types.
|
long |
maxFileSizeInKb
Maximum size of the file to upload in Kb.
|