DRAFT

javax.servlet.annotation
Annotation Type MultipartConfig


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface MultipartConfig


Optional Element Summary
 int fileSizeThreshold
          The size threshold after which the file will be written to disk
 java.lang.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
 

location

public abstract java.lang.String location
The directory location where files will be stored

Default:
""

maxFileSize

public abstract long maxFileSize
The maximum size allowed for uploaded files.

The default is -1L, which means unlimited.

Default:
-1L

maxRequestSize

public abstract long maxRequestSize
The maximum size allowed for multipart/form-data requests

The default is -1L, which means unlimited.

Default:
-1L

fileSizeThreshold

public abstract int fileSizeThreshold
The size threshold after which the file will be written to disk

Default:
0

DRAFT

Submit a bug or feature

Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.