|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.servlet.MultipartConfigElement
public class MultipartConfigElement
Java Class represntation of an MultipartConfig annotation value.
| 构造方法摘要 | |
|---|---|
MultipartConfigElement(MultipartConfig annotation)
Constructs an instance from a MultipartConfig annotation value. |
|
MultipartConfigElement(String location)
Constructs an instance with defaults for all but location. |
|
MultipartConfigElement(String location,
long maxFileSize,
long maxRequestSize,
int fileSizeThreshold)
Constructs an instance with all values specified. |
|
| 方法摘要 | |
|---|---|
int |
getFileSizeThreshold()
Gets the size threshold after which files will be written to disk. |
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. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public MultipartConfigElement(String location)
location - defualts to "" if values is null.
public MultipartConfigElement(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 value| 方法详细信息 |
|---|
public String getLocation()
public long getMaxFileSize()
public long getMaxRequestSize()
public int getFileSizeThreshold()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||