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.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-part and returns as key/value
pairs. |
Modifier and Type | Method and Description |
---|---|
protected String |
FileUploadBase.getFieldName(FileItemHeaders headers)
Retrieves the field name from the
Content-disposition
header. |
protected String |
FileUploadBase.getFileName(FileItemHeaders headers)
Retrieves the file name from the
Content-disposition
header. |
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 |
FileItemHeadersImpl
Default implementation of the
FileItemHeaders interface. |
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.