Package | Description |
---|---|
org.apache.commons.fileupload |
A component for handling HTML file uploads as specified by
RFC 1867.
|
org.apache.commons.fileupload.portlet |
An implementation of
FileUpload
for use in portlets conforming to JSR 168. |
org.apache.commons.fileupload.servlet |
An implementation of
FileUpload
for use in servlets conforming to JSR 53. |
Modifier and Type | Class and Description |
---|---|
class |
FileCountLimitExceededException
This exception is thrown if a request contains more files than the specified
limit.
|
static class |
FileUploadBase.InvalidContentTypeException
Thrown to indicate that the request is not a multipart request.
|
static class |
FileUploadBase.SizeLimitExceededException
Thrown to indicate that the request size exceeds the configured maximum.
|
static class |
FileUploadBase.UnknownSizeException
Thrown to indicate that the request size is not specified.
|
Modifier and Type | Method and Description |
---|---|
protected FileItem |
FileUploadBase.createItem(java.util.Map headers,
boolean isFormField)
Creates a new
FileItem instance. |
java.util.List |
FileUploadBase.parseRequest(javax.servlet.http.HttpServletRequest req)
Deprecated.
Use the method in
ServletFileUpload instead. |
java.util.List |
DiskFileUpload.parseRequest(javax.servlet.http.HttpServletRequest req,
int sizeThreshold,
long sizeMax,
java.lang.String path)
Deprecated.
Use
ServletFileUpload instead. |
java.util.List |
FileUploadBase.parseRequest(RequestContext ctx)
Processes an RFC 1867
compliant
multipart/form-data stream. |
Modifier and Type | Method and Description |
---|---|
java.util.List |
PortletFileUpload.parseRequest(javax.portlet.ActionRequest request)
Processes an RFC 1867
compliant
multipart/form-data stream. |
Modifier and Type | Method and Description |
---|---|
java.util.List |
ServletFileUpload.parseRequest(javax.servlet.http.HttpServletRequest request)
Processes an RFC 1867
compliant
multipart/form-data stream. |