| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface MultipartConfig
Annotation that may be specified on a Servlet
 class, indicating that instances of the Servlet expect requests
 that conform to the multipart/form-data MIME type.
 
Servlets annotated with MultipartConfig may retrieve the
 Part components of a given
 multipart/form-data request by calling 
 getPart or
 getParts.
| Optional Element Summary | |
|---|---|
|  int | fileSizeThresholdThe size threshold after which the file will be written to disk | 
|  java.lang.String | locationThe directory location where files will be stored | 
|  long | maxFileSizeThe maximum size allowed for uploaded files. | 
|  long | maxRequestSizeThe maximum size allowed for multipart/form-data requests | 
public abstract java.lang.String location
public abstract long maxFileSize
The default is -1L, which means unlimited.
public abstract long maxRequestSize
The default is -1L, which means unlimited.
public abstract int fileSizeThreshold
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41