Package jakarta.portlet.annotations
Annotation Type Multipart
-
@Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface Multipart
This annotation is used within composite portlet configuration annotations to add multipart configuration information. This is the portlet analog of thejakarta.servlet.annotation.MultipartConfigannotation.This annotation cannot be used as a stand-alone portlet annotation.
- Since:
- 3.0
- See Also:
MultipartConfig
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description booleansupportedFlag indicating if the portlet supports multipart forms.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intfileSizeThresholdThe size threshold after which the file will be written to disk.StringlocationThe directory location where files will be stored.longmaxFileSizeThe maximum size allowed for uploaded files.longmaxRequestSizeThe maximum size allowed for multipart/form-data requests.
-
-
-
-
location
String location
The directory location where files will be stored.- Returns:
- The directory location
- Default:
- ""
-
-