| 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
       FileIteminterface. | 
| org.apache.commons.fileupload.util | This package contains various IO related utility classes
 or methods, which are basically reusable and not necessarily
 restricted to the scope of a file upload. | 
| Modifier and Type | Method and Description | 
|---|---|
| FileItemHeaders | FileItemHeadersSupport. getHeaders()Returns the collection of headers defined locally within this item. | 
| protected FileItemHeaders | FileUploadBase. getParsedHeaders(String headerPart) Parses the  header-partand returns as key/value
 pairs. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | FileUploadBase. getFieldName(FileItemHeaders headers)Retrieves the field name from the  Content-dispositionheader. | 
| protected String | FileUploadBase. getFileName(FileItemHeaders headers)Retrieves the file name from the  Content-dispositionheader. | 
| void | FileItemHeadersSupport. setHeaders(FileItemHeaders headers)Sets the headers read from within an item. | 
| Modifier and Type | Method and Description | 
|---|---|
| FileItemHeaders | DiskFileItem. getHeaders()Returns the file item headers. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DiskFileItem. setHeaders(FileItemHeaders pHeaders)Sets the file item headers. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | FileItemHeadersImplDefault implementation of the  FileItemHeadersinterface. | 
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.