@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Multipart
javax.servlet.annotation.MultipartConfig
annotation.
This annotation cannot be used as a stand-alone portlet annotation.
MultipartConfig
Modifier and Type | Required Element and Description |
---|---|
boolean |
supported
Flag indicating if the portlet supports multipart forms.
|
Modifier and Type | Optional Element and Description |
---|---|
int |
fileSizeThreshold
The size threshold after which the file will be written to disk.
|
String |
location
The directory location where files will be stored.
|
long |
maxFileSize
The maximum size allowed for uploaded files.
|
long |
maxRequestSize
The maximum size allowed for multipart/form-data requests.
|
public abstract boolean supported
true
to activate multipart forms support.
true
if multipart forms are supported; false
otherwise.public abstract int fileSizeThreshold
public abstract String location
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.