A C D F G H I M 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.FileUploadBase
Content-disposition value for file attachment.

C

checkThreshold(int) - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Checks to see if writing the specified number of bytes would cause the configured threshold to be exceeded.
close() - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Closes this output stream and releases any system resources associated with this stream.
CONTENT_DISPOSITION - Static variable in class org.apache.commons.fileupload.FileUploadBase
HTTP content disposition header name.
CONTENT_TYPE - Static variable in class org.apache.commons.fileupload.FileUploadBase
HTTP content type header name.
createItem(Map, boolean) - Method in class org.apache.commons.fileupload.FileUploadBase
Creates a new FileItem instance.
createItem(String, String, boolean, String) - Method in interface org.apache.commons.fileupload.FileItemFactory
Create a new FileItem instance from the supplied parameters and any local factory configuration.
createItem(String, String, boolean, String) - Method in class org.apache.commons.fileupload.DefaultFileItemFactory
Create a new DefaultFileItem instance from the supplied parameters and the local factory configuration.

D

DEFAULT_BUFSIZE - Static variable in class org.apache.commons.fileupload.MultipartStream
The default length of the buffer used for processing a request.
DEFAULT_SIZE_THRESHOLD - Static variable in class org.apache.commons.fileupload.DefaultFileItemFactory
The default threshold above which uploads will be stored on disk.
DefaultFileItem - class org.apache.commons.fileupload.DefaultFileItem.
The default implementation of the FileItem interface.
DefaultFileItemFactory - class org.apache.commons.fileupload.DefaultFileItemFactory.
The default FileItemFactory implementation.
DefaultFileItemFactory() - Constructor for class org.apache.commons.fileupload.DefaultFileItemFactory
Constructs an unconfigured instance of this class.
DefaultFileItemFactory(int, File) - Constructor for class org.apache.commons.fileupload.DefaultFileItemFactory
Constructs a preconfigured instance of this class.
DeferredFileOutputStream - class org.apache.commons.fileupload.DeferredFileOutputStream.
An output stream which will retain data in memory until a specified threshold is reached, and only then commit it to disk.
DeferredFileOutputStream(int, File) - Constructor for class org.apache.commons.fileupload.DeferredFileOutputStream
Constructs an instance of this class which will trigger an event at the specified threshold, and save data to a file beyond that point.
delete() - Method in interface org.apache.commons.fileupload.FileItem
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
delete() - Method in class org.apache.commons.fileupload.DefaultFileItem
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.
DiskFileUpload - class org.apache.commons.fileupload.DiskFileUpload.
High level API for processing file uploads.
DiskFileUpload() - Constructor for class org.apache.commons.fileupload.DiskFileUpload
Constructs an instance of this class which uses the default factory to create FileItem instances.
DiskFileUpload(DefaultFileItemFactory) - Constructor for class org.apache.commons.fileupload.DiskFileUpload
Constructs an instance of this class which uses the supplied factory to create FileItem instances.

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).
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.
FileItemFactory - interface org.apache.commons.fileupload.FileItemFactory.
A factory interface for creating FileItem instances.
FileUpload - class org.apache.commons.fileupload.FileUpload.
High level API for processing file uploads.
FileUpload() - Constructor for class org.apache.commons.fileupload.FileUpload
Constructs an instance of this class which uses the default factory to create FileItem instances.
FileUpload(FileItemFactory) - Constructor for class org.apache.commons.fileupload.FileUpload
Constructs an instance of this class which uses the supplied factory to create FileItem instances.
FileUploadBase - class org.apache.commons.fileupload.FileUploadBase.
High level API for processing file uploads.
FileUploadBase.InvalidContentTypeException - exception org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException.
Thrown to indicate that the request is not a multipart request.
FileUploadBase.InvalidContentTypeException() - Constructor for class org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException
Constructs a InvalidContentTypeException with no detail message.
FileUploadBase.InvalidContentTypeException(String) - Constructor for class org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException
Constructs an InvalidContentTypeException with the specified detail message.
FileUploadBase.SizeLimitExceededException - exception org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException.
Thrown to indicate that the request size exceeds the configured maximum.
FileUploadBase.SizeLimitExceededException() - Constructor for class org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
Constructs a SizeExceededException with no detail message.
FileUploadBase.SizeLimitExceededException(String) - Constructor for class org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
Constructs an SizeExceededException with the specified detail message.
FileUploadBase.UnknownSizeException - exception org.apache.commons.fileupload.FileUploadBase.UnknownSizeException.
Thrown to indicate that the request size is not specified.
FileUploadBase.UnknownSizeException() - Constructor for class org.apache.commons.fileupload.FileUploadBase.UnknownSizeException
Constructs a UnknownSizeException with no detail message.
FileUploadBase.UnknownSizeException(String) - Constructor for class org.apache.commons.fileupload.FileUploadBase.UnknownSizeException
Constructs an UnknownSizeException with the specified detail message.
FileUploadBase() - Constructor for class org.apache.commons.fileupload.FileUploadBase
 
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.
flush() - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
FORM_DATA - Static variable in class org.apache.commons.fileupload.FileUploadBase
Content-disposition value for form data.

G

get() - Method in interface org.apache.commons.fileupload.FileItem
Returns the contents of the file item as an array of bytes.
get() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the contents of the file as an array of bytes.
getByteCount() - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Returns the number of bytes that have been written to this output stream.
getContentType() - Method in interface org.apache.commons.fileupload.FileItem
Returns the content type passed by the browser or null if not defined.
getContentType() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the content type passed by the browser or null if not defined.
getData() - Method in class org.apache.commons.fileupload.DeferredFileOutputStream
Returns the data for this output stream as an array of bytes, assuming that the data has been retained in memory.
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() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the name of the field in the multipart form corresponding to this file item.
getFieldName(Map) - Method in class org.apache.commons.fileupload.FileUploadBase
Retrieves the field name from the Content-disposition header.
getFile() - Method in class org.apache.commons.fileupload.DeferredFileOutputStream
Returns the data for this output stream as a File, assuming that the data was written to disk.
getFileItemFactory() - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the factory class used when creating file items.
getFileItemFactory() - Method in class org.apache.commons.fileupload.FileUpload
Returns the factory class used when creating file items.
getFileItemFactory() - Method in class org.apache.commons.fileupload.DiskFileUpload
Returns the factory class used when creating file items.
getFileName(Map) - Method in class org.apache.commons.fileupload.FileUploadBase
Retrieves the file name from the Content-disposition header.
getHeader(Map, String) - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the header with the specified name from the supplied map.
getHeaderEncoding() - Method in class org.apache.commons.fileupload.MultipartStream
Retrieves the character encoding used when reading the headers of an individual part.
getHeaderEncoding() - Method in class org.apache.commons.fileupload.FileUploadBase
Retrieves the character encoding used when reading the headers of an individual part.
getInputStream() - Method in interface org.apache.commons.fileupload.FileItem
Returns an InputStream that can be used to retrieve the contents of the file.
getInputStream() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns an InputStream that can be used to retrieve the contents of the file.
getName() - Method in interface org.apache.commons.fileupload.FileItem
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
getName() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the original filename in the client's filesystem.
getOutputStream() - Method in interface org.apache.commons.fileupload.FileItem
Returns an OutputStream that can be used for storing the contents of the file.
getOutputStream() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns an OutputStream that can be used for storing the contents of the file.
getRepository() - Method in class org.apache.commons.fileupload.DefaultFileItemFactory
Returns the directory used to temporarily store files that are larger than the configured size threshold.
getRepositoryPath() - Method in class org.apache.commons.fileupload.DiskFileUpload
Returns the location used to temporarily store files that are larger than the configured size threshold.
getSize() - Method in interface org.apache.commons.fileupload.FileItem
Returns the size of the file item.
getSize() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the size of the file.
getSizeMax() - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the maximum allowed upload size.
getSizeThreshold() - Method in class org.apache.commons.fileupload.DiskFileUpload
Returns the size threshold beyond which files are written directly to disk.
getSizeThreshold() - Method in class org.apache.commons.fileupload.DefaultFileItemFactory
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.
getStream() - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Returns the underlying output stream, to which the corresponding OutputStream methods in this class will ultimately delegate.
getStream() - Method in class org.apache.commons.fileupload.DeferredFileOutputStream
Returns the current output stream.
getString() - Method in interface org.apache.commons.fileupload.FileItem
Returns the contents of the file item as a String, using the default character encoding.
getString() - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the contents of the file as a String, using the default character encoding.
getString(String) - Method in interface org.apache.commons.fileupload.FileItem
Returns the contents of the file item as a String, using the specified encoding.
getString(String) - Method in class org.apache.commons.fileupload.DefaultFileItem
Returns the contents of the file as a String, using the specified encoding.
getTempFile() - Method in class org.apache.commons.fileupload.DefaultFileItem
Creates and returns a File representing a uniquely named temporary file in the configured repository path.
getThreshold() - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Returns the threshold, in bytes, at which an event will be triggered.

H

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

isFormField() - Method in interface org.apache.commons.fileupload.FileItem
Determines whether or not a FileItem instance represents 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.
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.
isInMemory() - Method in class org.apache.commons.fileupload.DeferredFileOutputStream
Determines whether or not the data for this output stream has been retained in memory.
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.
isMultipartContent(HttpServletRequest) - Static method in class org.apache.commons.fileupload.FileUploadBase
Utility method that determines whether the request contains multipart content.
isThresholdExceeded() - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Determines whether or not the configured threshold has been exceeded for this output stream.

M

MAX_HEADER_SIZE - Static variable in class org.apache.commons.fileupload.FileUploadBase
The maximum length of a single header line that will be parsed (1024 bytes).
MULTIPART - Static variable in class org.apache.commons.fileupload.FileUploadBase
Part of HTTP content type header.
MULTIPART_FORM_DATA - Static variable in class org.apache.commons.fileupload.FileUploadBase
HTTP content type header for multipart forms.
MULTIPART_MIXED - Static variable in class org.apache.commons.fileupload.FileUploadBase
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() - Constructor for class org.apache.commons.fileupload.MultipartStream.IllegalBoundaryException
Constructs an IllegalBoundaryException with no detail message.
MultipartStream.IllegalBoundaryException(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() - Constructor for class org.apache.commons.fileupload.MultipartStream.MalformedStreamException
Constructs a MalformedStreamException with no detail message.
MultipartStream.MalformedStreamException(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.

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.FileUploadBase
Parses the header-part and returns as key/value pairs.
parseRequest(HttpServletRequest) - Method in class org.apache.commons.fileupload.FileUploadBase
Processes an RFC 1867 compliant multipart/form-data stream.
parseRequest(HttpServletRequest, int, long, String) - Method in class org.apache.commons.fileupload.DiskFileUpload
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.

S

setBoundary(byte[]) - Method in class org.apache.commons.fileupload.MultipartStream
Changes the boundary token used for partitioning the stream.
setFieldName(String) - Method in interface org.apache.commons.fileupload.FileItem
Sets the field name used to reference this file item.
setFieldName(String) - Method in class org.apache.commons.fileupload.DefaultFileItem
Sets the field name used to reference this file item.
setFileItemFactory(FileItemFactory) - Method in class org.apache.commons.fileupload.FileUploadBase
Sets the factory class to use when creating file items.
setFileItemFactory(FileItemFactory) - Method in class org.apache.commons.fileupload.FileUpload
Sets the factory class to use when creating file items.
setFileItemFactory(FileItemFactory) - Method in class org.apache.commons.fileupload.DiskFileUpload
Sets the factory class to use when creating file items.
setFormField(boolean) - Method in interface org.apache.commons.fileupload.FileItem
Specifies whether or not a FileItem instance represents a simple form field.
setFormField(boolean) - Method in class org.apache.commons.fileupload.DefaultFileItem
Specifies whether or not a FileItem instance represents a simple form field.
setHeaderEncoding(String) - Method in class org.apache.commons.fileupload.MultipartStream
Specifies the character encoding to be used when reading the headers of individual parts.
setHeaderEncoding(String) - Method in class org.apache.commons.fileupload.FileUploadBase
Specifies the character encoding to be used when reading the headers of individual parts.
setRepository(File) - Method in class org.apache.commons.fileupload.DefaultFileItemFactory
Sets the directory used to temporarily store files that are larger than the configured size threshold.
setRepositoryPath(String) - Method in class org.apache.commons.fileupload.DiskFileUpload
Sets the location used to temporarily store files that are larger than the configured size threshold.
setSizeMax(long) - Method in class org.apache.commons.fileupload.FileUploadBase
Sets the maximum allowed upload size.
setSizeThreshold(int) - Method in class org.apache.commons.fileupload.DiskFileUpload
Sets the size threshold beyond which files are written directly to disk.
setSizeThreshold(int) - Method in class org.apache.commons.fileupload.DefaultFileItemFactory
Sets the size threshold beyond which files are written directly to disk.
skipPreamble() - Method in class org.apache.commons.fileupload.MultipartStream
Finds the beginning of the first encapsulation.
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

ThresholdingOutputStream - class org.apache.commons.fileupload.ThresholdingOutputStream.
An output stream which triggers an event when a specified number of bytes of data have been written to it.
ThresholdingOutputStream(int) - Constructor for class org.apache.commons.fileupload.ThresholdingOutputStream
Constructs an instance of this class which will trigger an event at the specified threshold.
thresholdReached() - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Indicates that the configured threshold has been reached, and that a subclass should take whatever action necessary on this event.
thresholdReached() - Method in class org.apache.commons.fileupload.DeferredFileOutputStream
Switches the underlying output stream from a memory based stream to one that is backed by disk.
toString() - Method in class org.apache.commons.fileupload.MultipartStream
Returns a string representation of this object.

W

write(byte[]) - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(byte[], int, int) - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(File) - Method in interface org.apache.commons.fileupload.FileItem
A convenience method to write an uploaded item to disk.
write(File) - Method in class org.apache.commons.fileupload.DefaultFileItem
A convenience method to write an uploaded item to disk.
write(int) - Method in class org.apache.commons.fileupload.ThresholdingOutputStream
Writes the specified byte to this output stream.

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

Copyright © 2002-2003 Apache Software Foundation. All Rights Reserved.