javax.servlet.annotation.MultipartConfig annotation.
This annotation cannot be used as a stand-alone portlet annotation.
javax.servlet.annotation.MultipartConfig
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The file size threshold
The size threshold after which the file will be written to disk.
|
| public String | |
| public long | Returns: The maximum size allowed for uploaded files
The maximum size allowed for uploaded files.
|
| public long | Returns: The maximum size allowed for multipart/form-data requests
The maximum size allowed for multipart/form-data requests.
|
| public boolean | Returns: true if multipart forms are supported; false otherwise.
Flag indicating if the portlet supports multipart forms.
|
| fileSizeThreshold | back to summary |
|---|---|
| public int fileSizeThreshold()
The size threshold after which the file will be written to disk.
| |
| location | back to summary |
|---|---|
| public String location()
The directory location where files will be stored.
| |
| maxFileSize | back to summary |
|---|---|
| public long maxFileSize()
The maximum size allowed for uploaded files.
| |
| maxRequestSize | back to summary |
|---|---|
| public long maxRequestSize()
The maximum size allowed for multipart/form-data requests.
| |
| supported | back to summary |
|---|---|
| public boolean supported()
Flag indicating if the portlet supports multipart forms.
Must be set to
true to activate multipart forms support.
| |