# Uses of Interface
org.apache.commons.fileupload.FileItem

Packages that use FileItem
Package
Description
org.apache.commons.fileupload
A component for handling HTML file uploads as specified by RFC 1867.
org.apache.commons.fileupload.disk
A disk-based implementation of the `FileItem` interface.
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.

- ## Uses of FileItem in org.apache.commons.fileupload

  Classes in org.apache.commons.fileupload that implement FileItem
  Modifier and Type
  Class
  Description
  `class`
  `DefaultFileItem`
  Deprecated.
  1.1 Use `DiskFileItem` instead.
  Methods in org.apache.commons.fileupload that return FileItem
  Modifier and Type
  Method
  Description
  `FileItem`
  DefaultFileItemFactory.`createItem(String fieldName, String contentType, boolean isFormField, String fileName)`
  Deprecated.
  1.1 Use `DiskFileItemFactory` instead.
  `FileItem`
  FileItemFactory.`createItem(String fieldName, String contentType, boolean isFormField, String fileName)`
  Create a new `FileItem` instance from the supplied parameters and any local factory configuration.
  `protected FileItem`
  FileUploadBase.`createItem(Map<String,String> headers, boolean isFormField)`
  Deprecated.
  1.2 This method is no longer used in favor of internally created instances of `FileItem`.
  Methods in org.apache.commons.fileupload that return types with arguments of type FileItem
  Modifier and Type
  Method
  Description
  `Map<String,List<FileItem>>`
  FileUploadBase.`parseParameterMap(RequestContext ctx)`
  Processes an RFC 1867 compliant `multipart/form-data` stream.
  `List<FileItem>`
  DiskFileUpload.`parseRequest(HttpServletRequest req, int sizeThreshold, long sizeMax, String path)`
  Deprecated.
  1.1 Use `ServletFileUpload` instead.
  `List<FileItem>`
  FileUploadBase.`parseRequest(HttpServletRequest req)`
  Deprecated.
  1.1 Use `ServletFileUpload.parseRequest(HttpServletRequest)` instead.
  `List<FileItem>`
  FileUploadBase.`parseRequest(RequestContext ctx)`
  Processes an RFC 1867 compliant `multipart/form-data` stream.

- ## Uses of FileItem in org.apache.commons.fileupload.disk

  Classes in org.apache.commons.fileupload.disk that implement FileItem
  Modifier and Type
  Class
  Description
  `class`
  `DiskFileItem`
  The default implementation of the `FileItem` interface.
  Methods in org.apache.commons.fileupload.disk that return FileItem
  Modifier and Type
  Method
  Description
  `FileItem`
  DiskFileItemFactory.`createItem(String fieldName, String contentType, boolean isFormField, String fileName)`
  Create a new `DiskFileItem` instance from the supplied parameters and the local factory configuration.

- ## Uses of FileItem in org.apache.commons.fileupload.portlet

  Methods in org.apache.commons.fileupload.portlet that return types with arguments of type FileItem
  Modifier and Type
  Method
  Description
  `Map<String,List<FileItem>>`
  PortletFileUpload.`parseParameterMap(javax.portlet.ActionRequest request)`
  Processes an RFC 1867 compliant `multipart/form-data` stream.
  `List<FileItem>`
  PortletFileUpload.`parseRequest(javax.portlet.ActionRequest request)`
  Processes an RFC 1867 compliant `multipart/form-data` stream.

- ## Uses of FileItem in org.apache.commons.fileupload.servlet

  Methods in org.apache.commons.fileupload.servlet that return types with arguments of type FileItem
  Modifier and Type
  Method
  Description
  `Map<String,List<FileItem>>`
  ServletFileUpload.`parseParameterMap(HttpServletRequest request)`
  Processes an RFC 1867 compliant `multipart/form-data` stream.
  `List<FileItem>`
  ServletFileUpload.`parseRequest(HttpServletRequest request)`
  Processes an RFC 1867 compliant `multipart/form-data` stream.