| 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
       FileUploadfor use in portlets conforming to JSR 168. | 
| org.apache.commons.fileupload.servlet | 
      An implementation of
       FileUploadfor use in servlets conforming to JSR 53. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | FileUploadBase.FileSizeLimitExceededExceptionThrown to indicate that A files size exceeds the configured maximum. | 
| static class  | FileUploadBase.InvalidContentTypeExceptionThrown to indicate that the request is not a multipart request. | 
| static class  | FileUploadBase.IOFileUploadExceptionThrown to indicate an IOException. | 
| protected static class  | FileUploadBase.SizeExceptionThis exception is thrown, if a requests permitted size
 is exceeded. | 
| static class  | FileUploadBase.SizeLimitExceededExceptionThrown to indicate that the request size exceeds the configured maximum. | 
| static class  | FileUploadBase.UnknownSizeExceptionDeprecated. 
 1.2 As of commons-fileupload 1.2, the presence of a
   content-length header is no longer required. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected FileItem | FileUploadBase. createItem(Map<String,String> headers,
          boolean isFormField)Deprecated. 
 1.2 This method is no longer used in favour of
   internally created instances of  FileItem. | 
| FileItemIterator | FileUploadBase. getItemIterator(RequestContext ctx)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
| boolean | FileItemIterator. hasNext()Returns, whether another instance of  FileItemStreamis available. | 
| FileItemStream | FileItemIterator. next()Returns the next available  FileItemStream. | 
| Map<String,List<FileItem>> | FileUploadBase. parseParameterMap(RequestContext ctx)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
| List<FileItem> | FileUploadBase. parseRequest(HttpServletRequest req)Deprecated. 
 1.1 Use  ServletFileUpload.parseRequest(HttpServletRequest)instead. | 
| List<FileItem> | DiskFileUpload. parseRequest(HttpServletRequest req,
            int sizeThreshold,
            long sizeMax,
            String path)Deprecated. 
 1.1 Use  ServletFileUploadinstead. | 
| List<FileItem> | FileUploadBase. parseRequest(RequestContext ctx)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
| Constructor and Description | 
|---|
| FileUploadIOException(FileUploadException pCause)Creates a  FileUploadIOExceptionwith the
 given cause. | 
| Modifier and Type | Method and Description | 
|---|---|
| FileItemIterator | PortletFileUpload. getItemIterator(javax.portlet.ActionRequest request)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
| Map<String,List<FileItem>> | PortletFileUpload. parseParameterMap(javax.portlet.ActionRequest request)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
| List<FileItem> | PortletFileUpload. parseRequest(javax.portlet.ActionRequest request)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
| Modifier and Type | Method and Description | 
|---|---|
| FileItemIterator | ServletFileUpload. getItemIterator(HttpServletRequest request)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
| Map<String,List<FileItem>> | ServletFileUpload. parseParameterMap(HttpServletRequest request)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
| List<FileItem> | ServletFileUpload. parseRequest(HttpServletRequest request)Processes an RFC 1867
 compliant  multipart/form-datastream. | 
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.