A B C D F G H I K M N O P R S T W

A

arrayequals(byte[], byte[], int) - Static method in class org.apache.commons.fileupload.MultipartStream
Compares count first bytes in the arrays a and b.
ATTACHMENT - Static variable in class org.apache.commons.fileupload.FileUpload
Content-disposition value for file attachment.

B

boundary - Variable in class org.apache.commons.fileupload.MultipartStream
The byte sequence that partitions the stream.
boundaryLength - Variable in class org.apache.commons.fileupload.MultipartStream
The length of the boundary token plus the leading CRLF--.
buffer - Variable in class org.apache.commons.fileupload.MultipartStream
The buffer used for processing the request.
bufSize - Variable in class org.apache.commons.fileupload.MultipartStream
The length of the buffer used for processing the request.
byteStream - Variable in class org.apache.commons.fileupload.DefaultFileItem
Temporary storage for in-memory files.

C

content - Variable in class org.apache.commons.fileupload.DefaultFileItem
Cached contents of the file.
CONTENT_DISPOSITION - Static variable in class org.apache.commons.fileupload.FileUpload
HTTP content disposition header name.
CONTENT_TYPE - Static variable in class org.apache.commons.fileupload.FileUpload
HTTP content type header name.
contentType - Variable in class org.apache.commons.fileupload.DefaultFileItem
The content type passed by the browser, or null if not defined.
counter - Static variable in class org.apache.commons.fileupload.DefaultFileItem
Counter used in unique identifier generation.
createItem(int, String, Map, int) - Method in class org.apache.commons.fileupload.FileUpload
Creates a new FileItem instance.

D

DEFAULT_BUFSIZE - Static variable in class org.apache.commons.fileupload.MultipartStream
The default length of the buffer used for processing a request.
DEFAULT_UPLOAD_SIZE_THRESHOLD - Static variable in interface org.apache.commons.fileupload.FileItem
The maximal size of request that will have it's elements stored in memory.
DefaultFileItem - class org.apache.commons.fileupload.DefaultFileItem.
The default mplementation of the FileItem interface.
DefaultFileItem() - Constructor for class org.apache.commons.fileupload.DefaultFileItem
Default constructor.
DefaultFileItem(String, String) - Constructor for class org.apache.commons.fileupload.DefaultFileItem
Constructs a new DefaultFileItem instance.
delete() - Method in class org.apache.commons.fileupload.DefaultFileItem
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
delete() - Method in interface org.apache.commons.fileupload.FileItem
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
discardBodyData() - Method in class org.apache.commons.fileupload.MultipartStream
Reads body-data from the current encapsulation and discards it.

F

FIELD_SEPARATOR - Static variable in class org.apache.commons.fileupload.MultipartStream
A byte sequence that that follows a delimiter that will be followed by an encapsulation (CRLF).
fieldName - Variable in class org.apache.commons.fileupload.DefaultFileItem
The name of the form field as provided by the browser.
FileItem - interface org.apache.commons.fileupload.FileItem.
This class represents a file or form item that was received within a multipart/form-data POST request.
fileItemClassName - Variable in class org.apache.commons.fileupload.FileUpload
The name of the class to use for FileItems.
fileName - Variable in class org.apache.commons.fileupload.DefaultFileItem
The original filename in the user's filesystem.
FileUpload - class org.apache.commons.fileupload.FileUpload.
High level API for processing file uploads.
FileUpload() - Constructor for class org.apache.commons.fileupload.FileUpload
 
FileUploadException - exception org.apache.commons.fileupload.FileUploadException.
Exception for errors encountered while processing the request.
FileUploadException() - Constructor for class org.apache.commons.fileupload.FileUploadException
Constructs a new FileUploadException without message.
FileUploadException(String) - Constructor for class org.apache.commons.fileupload.FileUploadException
Constructs a new FileUploadException with specified detail message.
finalize() - Method in class org.apache.commons.fileupload.DefaultFileItem
Removes the file contents from the temporary storage.
findByte(byte, int) - Method in class org.apache.commons.fileupload.MultipartStream
Searches for a byte of specified value in the buffer, starting at the specified position.
findSeparator() - Method in class org.apache.commons.fileupload.MultipartStream
Searches for the boundary in the buffer region delimited by head and tail.
FORM_DATA - Static variable in class org.apache.commons.fileupload.FileUpload
Content-disposition value for form data.

G

get() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the contents of the file as an array of bytes.
get() - Method in interface org.apache.commons.fileupload.FileItem
Returns the contents of the file as an array of bytes.
getContentType() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the content type passed by the browser or null if not defined.
getContentType() - Method in interface org.apache.commons.fileupload.FileItem
Returns the content type passed by the browser or null if not defined.
getFieldName() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the name of the field in the multipart form corresponding to this file item.
getFieldName() - Method in interface org.apache.commons.fileupload.FileItem
Returns the name of the field in the multipart form corresponding to this file item.
getFieldName(Map) - Method in class org.apache.commons.fileupload.FileUpload
Retrieves the field name from the Content-disposition header.
getFileItemClassName() - Method in class org.apache.commons.fileupload.FileUpload
Returns the fully qualified name of the class which will be used to instantiate FileItem instances when a request is parsed.
getFileName(Map) - Method in class org.apache.commons.fileupload.FileUpload
Retrieves the file name from the Content-disposition header.
getHeader(Map, String) - Method in class org.apache.commons.fileupload.FileUpload
Returns the header with the specified name from the supplied map.
getInputStream() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns an InputStream that can be used to retrieve the contents of the file.
getInputStream() - Method in interface org.apache.commons.fileupload.FileItem
Returns an InputStream that can be used to retrieve the contents of the file.
getName() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the original filename in the client's filesystem.
getName() - Method in interface org.apache.commons.fileupload.FileItem
Returns the original filename in the client's filesystem.
getNewInstanceMethod() - Method in class org.apache.commons.fileupload.FileUpload
Returns the Method object to be used to obtain a new FileItem instance.
getOutputStream() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns an OutputStream that can be used for storing the contents of the file.
getOutputStream() - Method in interface org.apache.commons.fileupload.FileItem
Returns an OutputStream that can be used for storing the contents of the file.
getRepositoryPath() - Method in class org.apache.commons.fileupload.FileUpload
Returns the location used to temporarily store files that are larger than the configured size threshold.
getSize() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the size of the file.
getSize() - Method in interface org.apache.commons.fileupload.FileItem
Returns the size of the file.
getSizeMax() - Method in class org.apache.commons.fileupload.FileUpload
Returns the maximum allowed upload size.
getSizeThreshold() - Method in class org.apache.commons.fileupload.FileUpload
Returns the size threshold beyond which files are written directly to disk.
getStoreLocation() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the File object for the FileItem's data's temporary location on the disk.
getStoreLocation() - Method in interface org.apache.commons.fileupload.FileItem
Returns the File object for the FileItem's data's temporary location on the disk.
getString() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the contents of the file as a String, using the default character encoding.
getString() - Method in interface org.apache.commons.fileupload.FileItem
Returns the contents of the file as a String, using the default character encoding.
getString(String) - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the contents of the file as a String, using the specified encoding.
getString(String) - Method in interface org.apache.commons.fileupload.FileItem
Returns the contents of the file as a String, using the specified encoding.
getUniqueId() - Static method in class org.apache.commons.fileupload.DefaultFileItem
Returns an identifier that is unique within the class loader used to load this class, but does not have random-like apearance.

H

head - Variable in class org.apache.commons.fileupload.MultipartStream
The index of first valid character in the buffer.
HEADER_PART_SIZE_MAX - Static variable in class org.apache.commons.fileupload.MultipartStream
The maximum length of header-part that will be processed (10 kilobytes = 10240 bytes.).
HEADER_SEPARATOR - Static variable in class org.apache.commons.fileupload.MultipartStream
A byte sequence that marks the end of header-part (CRLFCRLF).

I

input - Variable in class org.apache.commons.fileupload.MultipartStream
The input stream from which data is read.
isFormField - Variable in class org.apache.commons.fileupload.DefaultFileItem
Whether or not this item is a simple form field.
isFormField() - Method in class org.apache.commons.fileupload.DefaultFileItem
Determines whether or not a FileItem instance represents a simple form field.
isFormField() - Method in interface org.apache.commons.fileupload.FileItem
Determines whether or not a FileItem instance represents a simple form field.
isInMemory() - Method in class org.apache.commons.fileupload.DefaultFileItem
Provides a hint as to whether or not the file contents will be read from memory.
isInMemory() - Method in interface org.apache.commons.fileupload.FileItem
Provides a hint as to whether or not the file contents will be read from memory.
isMultipartContent(HttpServletRequest) - Static method in class org.apache.commons.fileupload.FileUpload
Utility method that determines whether the request contains multipart content.

K

keepRegion - Variable in class org.apache.commons.fileupload.MultipartStream
The amount of data, in bytes, that must be kept in the buffer in order to detect delimiters reliably.

M

MAX_HEADER_SIZE - Static variable in class org.apache.commons.fileupload.FileUpload
The maximum length of a single header line that will be parsed (1024 bytes).
MULTIPART - Static variable in class org.apache.commons.fileupload.FileUpload
Part of HTTP content type header.
MULTIPART_FORM_DATA - Static variable in class org.apache.commons.fileupload.FileUpload
HTTP content type header for multipart forms.
MULTIPART_MIXED - Static variable in class org.apache.commons.fileupload.FileUpload
HTTP content type header for multiple uploads.
MultipartStream - class org.apache.commons.fileupload.MultipartStream.
Low level API for processing file uploads.
MultipartStream.IllegalBoundaryException - exception org.apache.commons.fileupload.MultipartStream.IllegalBoundaryException.
Thrown upon attempt of setting an invalid boundary token.
MultipartStream.IllegalBoundaryException(MultipartStream) - Constructor for class org.apache.commons.fileupload.MultipartStream.IllegalBoundaryException
Constructs an IllegalBoundaryException with no detail message.
MultipartStream.IllegalBoundaryException(MultipartStream, String) - Constructor for class org.apache.commons.fileupload.MultipartStream.IllegalBoundaryException
Constructs an IllegalBoundaryException with the specified detail message.
MultipartStream.MalformedStreamException - exception org.apache.commons.fileupload.MultipartStream.MalformedStreamException.
Thrown to indicate that the input stream fails to follow the required syntax.
MultipartStream.MalformedStreamException(MultipartStream) - Constructor for class org.apache.commons.fileupload.MultipartStream.MalformedStreamException
Constructs a MalformedStreamException with no detail message.
MultipartStream.MalformedStreamException(MultipartStream, String) - Constructor for class org.apache.commons.fileupload.MultipartStream.MalformedStreamException
Constructs an MalformedStreamException with the specified detail message.
MultipartStream() - Constructor for class org.apache.commons.fileupload.MultipartStream
Default constructor.
MultipartStream(InputStream, byte[]) - Constructor for class org.apache.commons.fileupload.MultipartStream
Constructs a MultipartStream with a default size buffer.
MultipartStream(InputStream, byte[], int) - Constructor for class org.apache.commons.fileupload.MultipartStream
Constructs a MultipartStream with a custom size buffer.

N

newInstance(String, String, String, int, int) - Static method in class org.apache.commons.fileupload.DefaultFileItem
Instantiates a DefaultFileItem.
newInstanceMethod - Variable in class org.apache.commons.fileupload.FileUpload
The cached method for obtaining a new FileItem instance.

O

org.apache.commons.fileupload - package org.apache.commons.fileupload
Component for handling html file uploads as given by rfc 1867 RFC 1867.

P

parseHeaders(String) - Method in class org.apache.commons.fileupload.FileUpload
Parses the header-part and returns as key/value pairs.
parseRequest(HttpServletRequest) - Method in class org.apache.commons.fileupload.FileUpload
Processes an RFC 1867 compliant multipart/form-data stream.
parseRequest(HttpServletRequest, int, int, String) - Method in class org.apache.commons.fileupload.FileUpload
Processes an RFC 1867 compliant multipart/form-data stream.

R

readBodyData(OutputStream) - Method in class org.apache.commons.fileupload.MultipartStream
Reads body-data from the current encapsulation and writes its contents into the output Stream.
readBoundary() - Method in class org.apache.commons.fileupload.MultipartStream
Skips a boundary token, and checks whether more encapsulations are contained in the stream.
readByte() - Method in class org.apache.commons.fileupload.MultipartStream
Reads a byte from the buffer, and refills it as necessary.
readHeaders() - Method in class org.apache.commons.fileupload.MultipartStream
Reads the header-part of the current encapsulation.
repositoryPath - Variable in class org.apache.commons.fileupload.FileUpload
The path to which uploaded files will be stored, if stored on disk.

S

setBoundary(byte[]) - Method in class org.apache.commons.fileupload.MultipartStream
Changes the boundary token used for partitioning the stream.
setFieldName(String) - Method in class org.apache.commons.fileupload.DefaultFileItem
Sets the field name used to reference this file item.
setFieldName(String) - Method in interface org.apache.commons.fileupload.FileItem
Sets the field name used to reference this file item.
setFileItemClassName(String) - Method in class org.apache.commons.fileupload.FileUpload
Sets the fully qualified name of the class which will be used to instantiate FileItem instances when a request is parsed.
setIsFormField(boolean) - Method in class org.apache.commons.fileupload.DefaultFileItem
Specifies whether or not a FileItem instance represents a simple form field.
setIsFormField(boolean) - Method in interface org.apache.commons.fileupload.FileItem
Specifies whether or not a FileItem instance represents a simple form field.
setRepositoryPath(String) - Method in class org.apache.commons.fileupload.FileUpload
Sets the location used to temporarily store files that are larger than the configured size threshold.
setSizeMax(int) - Method in class org.apache.commons.fileupload.FileUpload
Sets the maximum allowed upload size.
setSizeThreshold(int) - Method in class org.apache.commons.fileupload.FileUpload
Sets the size threshold beyond which files are written directly to disk.
sizeMax - Variable in class org.apache.commons.fileupload.FileUpload
The maximum size permitted for an uploaded file.
sizeThreshold - Variable in class org.apache.commons.fileupload.FileUpload
The threshold above which uploads will be stored on disk.
skipPreamble() - Method in class org.apache.commons.fileupload.MultipartStream
Finds the beginning of the first encapsulation.
storeLocation - Variable in class org.apache.commons.fileupload.DefaultFileItem
Temporary storage location on disk.
STREAM_TERMINATOR - Static variable in class org.apache.commons.fileupload.MultipartStream
A byte sequence that that follows a delimiter of the last encapsulation in the stream (--).

T

tail - Variable in class org.apache.commons.fileupload.MultipartStream
The index of last valid characer in the buffer + 1.

W

write(String) - Method in class org.apache.commons.fileupload.DefaultFileItem
A convenience method to write an uploaded file to disk.
write(String) - Method in interface org.apache.commons.fileupload.FileItem
A convenience method to write an uploaded file to disk.

A B C D F G H I K M N O P R S T W