|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.MultipartConfigElement
public class MultipartConfigElement
Java Class represntation of an MultipartConfig
annotation value.
Constructor Summary | |
---|---|
MultipartConfigElement(MultipartConfig annotation)
Constructs an instance from a MultipartConfig annotation value. |
|
MultipartConfigElement(java.lang.String location)
Constructs an instance with defaults for all but location. |
|
MultipartConfigElement(java.lang.String location,
long maxFileSize,
long maxRequestSize,
int fileSizeThreshold)
Constructs an instance with all values specified. |
Method Summary | |
---|---|
int |
getFileSizeThreshold()
Gets the size threshold after which files will be written to disk. |
java.lang.String |
getLocation()
Gets the directory location where files will be stored. |
long |
getMaxFileSize()
Gets the maximum size allowed for uploaded files. |
long |
getMaxRequestSize()
Gets the maximum size allowed for multipart/form-data requests. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipartConfigElement(java.lang.String location)
location
- defualts to "" if values is null.public MultipartConfigElement(java.lang.String location, long maxFileSize, long maxRequestSize, int fileSizeThreshold)
location
- the directory location where files will be storedmaxFileSize
- the maximum size allowed for uploaded filesmaxRequestSize
- the maximum size allowed for
multipart/form-data requestsfileSizeThreshold
- the size threshold after which files will
be written to diskpublic MultipartConfigElement(MultipartConfig annotation)
MultipartConfig
annotation value.
annotation
- the annotation valueMethod Detail |
---|
public java.lang.String getLocation()
public long getMaxFileSize()
public long getMaxRequestSize()
public int getFileSizeThreshold()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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