Index

A B C D E F G H I J K L M N O P Q R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

actual - Variable in exception class org.apache.commons.fileupload.FileUploadBase.SizeException
The actual size of the request.
addHeader(String, String) - Method in class org.apache.commons.fileupload.util.FileItemHeadersImpl
Method to add header values to this instance.
arrayequals(byte[], byte[], int) - Static method in class org.apache.commons.fileupload.MultipartStream
Compares count first bytes in the arrays a and b.
asString(InputStream) - Static method in class org.apache.commons.fileupload.util.Streams
This convenience method allows to read a FileItemStream's content into a string.
asString(InputStream, String) - Static method in class org.apache.commons.fileupload.util.Streams
This convenience method allows to read a FileItemStream's content into a string, using the given character encoding.
ATTACHMENT - Static variable in class org.apache.commons.fileupload.FileUploadBase
Content-disposition value for file attachment.
available() - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Returns the number of bytes, which are currently available, without blocking.

B

BASE64_ENCODING_MARKER - Static variable in class org.apache.commons.fileupload.util.mime.MimeUtility
The marker to indicate text is encoded with BASE64 algorithm.
boundary - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
The boundary, which separates the various parts.
boundary - Variable in class org.apache.commons.fileupload.MultipartStream
The byte sequence that partitions the stream.
BOUNDARY_PREFIX - Static variable in class org.apache.commons.fileupload.MultipartStream
A byte sequence that precedes a boundary (CRLF--).
boundaryLength - Variable in class org.apache.commons.fileupload.MultipartStream
The length of the boundary token plus the leading CRLF--.
boundaryTable - Variable in class org.apache.commons.fileupload.MultipartStream
The table for Knuth-Morris-Pratt search algorithm.
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.
BYTE_POSITIVE_OFFSET - Static variable in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Offset when converting negative bytes to integers.
bytesRead - Variable in class org.apache.commons.fileupload.MultipartStream.ProgressNotifier
Number of bytes, which have been read so far.

C

cachedContent - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
Cached contents of the file.
chars - Variable in class org.apache.commons.fileupload.ParameterParser
String to be parsed.
checkFileName(String) - Static method in class org.apache.commons.fileupload.util.Streams
Checks, whether the given file name is valid in the sense, that it doesn't contain any NUL characters.
checkLimit() - Method in class org.apache.commons.fileupload.util.LimitedInputStream
Called to check, whether the input streams limit is reached.
clear() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Clears the cache.
close() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Closes the file item.
close() - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Closes the input stream.
close() - Method in interface org.apache.commons.fileupload.util.Closeable
Closes the object.
close() - Method in class org.apache.commons.fileupload.util.LimitedInputStream
Closes this input stream and releases any system resources associated with the stream.
close(boolean) - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Closes the input stream.
Closeable - Interface in org.apache.commons.fileupload.util
Interface of an object, which may be closed.
closed - Variable in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Whether the stream is already closed.
closed - Variable in class org.apache.commons.fileupload.util.LimitedInputStream
Whether this stream is already closed.
computeBoundaryTable() - Method in class org.apache.commons.fileupload.MultipartStream
Compute the table used for Knuth-Morris-Pratt search algorithm.
CONTENT_DISPOSITION - Static variable in class org.apache.commons.fileupload.FileUploadBase
HTTP content disposition header name.
CONTENT_LENGTH - Static variable in class org.apache.commons.fileupload.FileUploadBase
HTTP content length header name.
CONTENT_TYPE - Static variable in class org.apache.commons.fileupload.FileUploadBase
HTTP content type header name.
contentLength - Variable in class org.apache.commons.fileupload.MultipartStream.ProgressNotifier
Number of expected bytes, if known, or -1.
contentLength() - Method in class org.apache.commons.fileupload.servlet.ServletRequestContext
Retrieve the content length of the request.
contentLength() - Method in interface org.apache.commons.fileupload.UploadContext
Retrieve the content length of the request.
contentType - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
The content type passed by the browser, or null if not defined.
contentType - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
The file items content type.
contextDestroyed(ServletContextEvent) - Method in class org.apache.commons.fileupload.servlet.FileCleanerCleanup
Called when the web application is being destroyed.
contextInitialized(ServletContextEvent) - Method in class org.apache.commons.fileupload.servlet.FileCleanerCleanup
Called when the web application is initialized.
copy(InputStream, OutputStream, boolean) - Static method in class org.apache.commons.fileupload.util.Streams
Copies the contents of the given InputStream to the given OutputStream.
copy(InputStream, OutputStream, boolean, byte[]) - Static method in class org.apache.commons.fileupload.util.Streams
Copies the contents of the given InputStream to the given OutputStream.
count - Variable in class org.apache.commons.fileupload.util.LimitedInputStream
The current number of bytes.
COUNTER - Static variable in class org.apache.commons.fileupload.disk.DiskFileItem
Counter used in unique identifier generation.
CR - Static variable in class org.apache.commons.fileupload.FileUploadBase
Carriage return.
CR - Static variable in class org.apache.commons.fileupload.MultipartStream
The Carriage Return ASCII character value.
CR - Static variable in class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
Carriage return character ''\r''.
createItem(String, String, boolean, String) - Method in class org.apache.commons.fileupload.DefaultFileItemFactory
Deprecated.
1.1 Use DiskFileItemFactory instead.
createItem(String, String, boolean, String) - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Create a new DiskFileItem instance from the supplied parameters and the local factory configuration.
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(Map<String, String>, boolean) - Method in class org.apache.commons.fileupload.FileUploadBase
Deprecated.
1.2 This method is no longer used in favor of internally created instances of FileItem.
currentFieldName - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
The current items field name.
currentItem - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
The item, which we currently process.

D

DASH - Static variable in class org.apache.commons.fileupload.MultipartStream
The dash (-) ASCII character value.
decode(byte[], OutputStream) - Static method in class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
Decode the encoded byte data writing it to the given output stream.
decodeText(String) - Static method in class org.apache.commons.fileupload.RFC2231Utility
Decodes a string of text obtained from a HTTP header as per RFC 2231
decodeText(String) - Static method in class org.apache.commons.fileupload.util.mime.MimeUtility
Decode a string of text obtained from a mail header into its proper form.
decodeWord(String) - Static method in class org.apache.commons.fileupload.util.mime.MimeUtility
Parse a string using the RFC 2047 rules for an "encoded-word" type.
DEFAULT_BUFFER_SIZE - Static variable in class org.apache.commons.fileupload.util.Streams
Default buffer size for use in Streams.copy(InputStream, OutputStream, boolean).
DEFAULT_BUFSIZE - Static variable in class org.apache.commons.fileupload.MultipartStream
The default length of the buffer used for processing a request.
DEFAULT_CHARSET - Static variable in class org.apache.commons.fileupload.disk.DiskFileItem
Default content charset to be used when no explicit charset parameter is provided by the sender.
DEFAULT_PART_HEADER_SIZE_MAX - Static variable in class org.apache.commons.fileupload.FileUploadBase
Default per part header size limit in bytes.
DEFAULT_SIZE_THRESHOLD - Static variable in class org.apache.commons.fileupload.disk.DiskFileItemFactory
The default threshold above which uploads will be stored on disk.
defaultCharset - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
Default content charset to be used when no explicit charset parameter is provided by the sender.
defaultCharset - Variable in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Default content charset to be used when no explicit charset parameter is provided by the sender.
DefaultFileItem - Class in org.apache.commons.fileupload
Deprecated.
1.1 Use DiskFileItem instead.
DefaultFileItem(String, String, boolean, String, int, File) - Constructor for class org.apache.commons.fileupload.DefaultFileItem
Deprecated.
1.1 Use DiskFileItem instead.
DefaultFileItemFactory - Class in org.apache.commons.fileupload
Deprecated.
1.1 Use DiskFileItemFactory instead.
DefaultFileItemFactory() - Constructor for class org.apache.commons.fileupload.DefaultFileItemFactory
Deprecated.
1.1 Use DiskFileItemFactory instead.
DefaultFileItemFactory(int, File) - Constructor for class org.apache.commons.fileupload.DefaultFileItemFactory
Deprecated.
1.1 Use DiskFileItemFactory instead.
delete() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
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.
dfos - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
Output stream for this item.
discardBodyData() - Method in class org.apache.commons.fileupload.MultipartStream
Reads body-data from the current encapsulation and discards it.
DiskFileItem - Class in org.apache.commons.fileupload.disk
The default implementation of the FileItem interface.
DiskFileItem(String, String, boolean, String, int, File) - Constructor for class org.apache.commons.fileupload.disk.DiskFileItem
Constructs a new DiskFileItem instance.
DiskFileItemFactory - Class in org.apache.commons.fileupload.disk
The default FileItemFactory implementation.
DiskFileItemFactory() - Constructor for class org.apache.commons.fileupload.disk.DiskFileItemFactory
Constructs an unconfigured instance of this class.
DiskFileItemFactory(int, File) - Constructor for class org.apache.commons.fileupload.disk.DiskFileItemFactory
Constructs a preconfigured instance of this class.
DiskFileUpload - Class in org.apache.commons.fileupload
Deprecated.
1.1 Use ServletFileUpload together with DiskFileItemFactory instead.
DiskFileUpload() - Constructor for class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
1.1 Use FileUpload instead.
DiskFileUpload(DefaultFileItemFactory) - Constructor for class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
1.1 Use FileUpload instead.

E

ENCODED_TOKEN_FINISHER - Static variable in class org.apache.commons.fileupload.util.mime.MimeUtility
If the text contains any encoded tokens, those tokens will terminate with "=?".
ENCODED_TOKEN_MARKER - Static variable in class org.apache.commons.fileupload.util.mime.MimeUtility
If the text contains any encoded tokens, those tokens will be marked with "=?".
eof - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
Whether we have seen the end of the file.
EQUAL - Static variable in class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
Equal character ''=''.

F

FIELD_SEPARATOR - Static variable in class org.apache.commons.fileupload.MultipartStream
A byte sequence that follows a delimiter that will be followed by an encapsulation (CRLF).
fieldName - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
The name of the form field as provided by the browser.
fieldName - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
The file items field name.
fieldName - Variable in exception class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
Field name of the item, which caused the exception.
FILE_CLEANING_TRACKER_ATTRIBUTE - Static variable in class org.apache.commons.fileupload.servlet.FileCleanerCleanup
Attribute name, which is used for storing an instance of FileCleaningTracker in the web application.
FileCleanerCleanup - Class in org.apache.commons.fileupload.servlet
A servlet context listener, which ensures that the FileCleaningTracker's reaper thread is terminated, when the web application is destroyed.
FileCleanerCleanup() - Constructor for class org.apache.commons.fileupload.servlet.FileCleanerCleanup
Constructs a new instance.
fileCleaningTracker - Variable in class org.apache.commons.fileupload.disk.DiskFileItemFactory
The instance of FileCleaningTracker, which is responsible for deleting temporary files.
FileCountLimitExceededException - Exception Class in org.apache.commons.fileupload
This exception is thrown if a request contains more files than the specified limit.
FileCountLimitExceededException(String, long) - Constructor for exception class org.apache.commons.fileupload.FileCountLimitExceededException
Creates a new instance.
fileCountMax - Variable in class org.apache.commons.fileupload.FileUploadBase
The maximum permitted number of files that may be uploaded in a single request.
FileItem - Interface in org.apache.commons.fileupload
This class represents a file or form item that was received within a multipart/form-data POST request.
fileItemFactory - Variable in class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
The factory to use to create new form items.
fileItemFactory - Variable in class org.apache.commons.fileupload.FileUpload
The factory to use to create new form items.
FileItemFactory - Interface in org.apache.commons.fileupload
A factory interface for creating FileItem instances.
FileItemHeaders - Interface in org.apache.commons.fileupload
This class provides support for accessing the headers for a file or form item that was received within a multipart/form-data POST request.
FileItemHeadersImpl - Class in org.apache.commons.fileupload.util
Default implementation of the FileItemHeaders interface.
FileItemHeadersImpl() - Constructor for class org.apache.commons.fileupload.util.FileItemHeadersImpl
Constructs a new instance.
FileItemHeadersSupport - Interface in org.apache.commons.fileupload
Interface that will indicate that FileItem or FileItemStream implementations will accept the headers read for the item.
FileItemIterator - Interface in org.apache.commons.fileupload
FileItemIteratorImpl(RequestContext) - Constructor for class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
Creates a new instance.
FileItemStream - Interface in org.apache.commons.fileupload
This interface provides access to a file or form item that was received within a multipart/form-data POST request.
FileItemStream.ItemSkippedException - Exception Class in org.apache.commons.fileupload
This exception is thrown, if an attempt is made to read data from the InputStream, which has been returned by FileItemStream.openStream(), after Iterator.hasNext() has been invoked on the iterator, which created the FileItemStream.
FileItemStreamImpl(String, String, String, boolean, long) - Constructor for class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Creates a new instance.
fileName - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
The original file name in the user's file system.
fileName - Variable in exception class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
File name of the item, which caused the exception.
FileSizeLimitExceededException(String, long, long) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
fileSizeMax - Variable in class org.apache.commons.fileupload.FileUploadBase
The maximum size permitted for a single uploaded file, as opposed to FileUploadBase.sizeMax.
FileUpload - Class in org.apache.commons.fileupload
High level API for processing file uploads.
FileUpload() - Constructor for class org.apache.commons.fileupload.FileUpload
Constructs an uninitialized instance of this class.
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 in org.apache.commons.fileupload
High level API for processing file uploads.
FileUploadBase() - Constructor for class org.apache.commons.fileupload.FileUploadBase
Constructs a new instance.
FileUploadBase.FileItemIteratorImpl - Class in org.apache.commons.fileupload
The iterator, which is returned by FileUploadBase.getItemIterator(RequestContext).
FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl - Class in org.apache.commons.fileupload
Default implementation of FileItemStream.
FileUploadBase.FileSizeLimitExceededException - Exception Class in org.apache.commons.fileupload
Thrown to indicate that A files size exceeds the configured maximum.
FileUploadBase.FileUploadIOException - Exception Class in org.apache.commons.fileupload
Signals that a FileUpload I/O exception of some sort has occurred.
FileUploadBase.InvalidContentTypeException - Exception Class in org.apache.commons.fileupload
Thrown to indicate that the request is not a multipart request.
FileUploadBase.IOFileUploadException - Exception Class in org.apache.commons.fileupload
Thrown to indicate an IOException.
FileUploadBase.SizeException - Exception Class in org.apache.commons.fileupload
This exception is thrown, if a requests permitted size is exceeded.
FileUploadBase.SizeLimitExceededException - Exception Class in org.apache.commons.fileupload
Thrown to indicate that the request size exceeds the configured maximum.
FileUploadBase.UnknownSizeException - Exception Class in org.apache.commons.fileupload
Deprecated.
1.2 As of commons-fileupload 1.2, the presence of a content-length header is no longer required.
FileUploadException - Exception Class in org.apache.commons.fileupload
Exception for errors encountered while processing the request.
FileUploadException() - Constructor for exception class org.apache.commons.fileupload.FileUploadException
Constructs a new FileUploadException without message.
FileUploadException(String) - Constructor for exception class org.apache.commons.fileupload.FileUploadException
Constructs a new FileUploadException with specified detail message.
FileUploadException(String, Throwable) - Constructor for exception class org.apache.commons.fileupload.FileUploadException
Creates a new FileUploadException with the given detail message and cause.
FileUploadIOException(FileUploadException) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.FileUploadIOException
Creates a FileUploadIOException with the given cause.
finalize() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
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.
findNextItem() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
Called for finding the next item, if any.
findSeparator() - Method in class org.apache.commons.fileupload.MultipartStream
Searches for the boundary in the buffer region delimited by head and tail.
findSeparator() - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Called for finding the separator.
FORM_DATA - Static variable in class org.apache.commons.fileupload.FileUploadBase
Content-disposition value for form data.
formField - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
Whether or not this item is a simple form field.
formField - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Whether the file item is a form field.
fromHex(String) - Static method in class org.apache.commons.fileupload.RFC2231Utility
Converts text to their corresponding Hex value.

G

get() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets 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 item as an array of bytes.
getActualSize() - Method in exception class org.apache.commons.fileupload.FileUploadBase.SizeException
Gets the actual size of the request.
getBoundary(String) - Method in class org.apache.commons.fileupload.FileUploadBase
Gets the boundary from the Content-type header.
getBytesRead() - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Returns the number of bytes, which have been read by the stream.
getCharacterEncoding() - Method in interface org.apache.commons.fileupload.RequestContext
Retrieve the character encoding for the request.
getCharacterEncoding() - Method in class org.apache.commons.fileupload.servlet.ServletRequestContext
Retrieve the character encoding for the request.
getCharSet() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets the content charset passed by the agent or null if not defined.
getContentLength() - Method in interface org.apache.commons.fileupload.RequestContext
Deprecated.
1.3 Use contentLength() instead
getContentLength() - Method in class org.apache.commons.fileupload.servlet.ServletRequestContext
Deprecated.
getContentLength(FileItemHeaders) - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
 
getContentType() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets the content type passed by the agent 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.
getContentType() - Method in interface org.apache.commons.fileupload.FileItemStream
Returns the content type passed by the browser or null if not defined.
getContentType() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Returns the items content type, or null.
getContentType() - Method in interface org.apache.commons.fileupload.RequestContext
Retrieve the content type of the request.
getContentType() - Method in class org.apache.commons.fileupload.servlet.ServletRequestContext
Retrieve the content type of the request.
getDefaultCharset() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets the default charset for use when no explicit charset parameter is provided by the sender.
getDefaultCharset() - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Gets the default charset for use when no explicit charset parameter is provided by the sender.
getFieldName() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets 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() - Method in interface org.apache.commons.fileupload.FileItemStream
Returns the name of the field in the multipart form corresponding to this file item.
getFieldName() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Returns the items field name.
getFieldName() - Method in exception class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
Returns the field name of the item, which caused the exception.
getFieldName(String) - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the field name, which is given by the content-disposition header.
getFieldName(Map<String, String>) - Method in class org.apache.commons.fileupload.FileUploadBase
getFieldName(FileItemHeaders) - Method in class org.apache.commons.fileupload.FileUploadBase
Gets the field name from the Content-disposition header.
getFileCleaningTracker() - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Gets the tracker, which is responsible for deleting temporary files.
getFileCleaningTracker(ServletContext) - Static method in class org.apache.commons.fileupload.servlet.FileCleanerCleanup
Returns the instance of FileCleaningTracker, which is associated with the given ServletContext.
getFileCountMax() - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the maximum number of files allowed in a single request.
getFileItemFactory() - Method in class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
1.1 Use FileUpload instead.
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.FileUploadBase
Returns the factory class used when creating file items.
getFileName() - Method in exception class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
Returns the file name of the item, which caused the exception.
getFileName(String) - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the given content-disposition headers file name.
getFileName(Map<String, String>) - Method in class org.apache.commons.fileupload.FileUploadBase
getFileName(FileItemHeaders) - Method in class org.apache.commons.fileupload.FileUploadBase
Gets the file name from the Content-disposition header.
getFileSizeMax() - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the maximum allowed size of a single uploaded file, as opposed to FileUploadBase.getSizeMax().
getHeader(String) - Method in interface org.apache.commons.fileupload.FileItemHeaders
Returns the value of the specified part header as a String.
getHeader(String) - Method in class org.apache.commons.fileupload.util.FileItemHeadersImpl
 
getHeader(Map<String, String>, String) - Method in class org.apache.commons.fileupload.FileUploadBase
Deprecated.
getHeaderEncoding() - Method in class org.apache.commons.fileupload.FileUploadBase
Gets the character encoding used when reading the headers of an individual part.
getHeaderEncoding() - Method in class org.apache.commons.fileupload.MultipartStream
Gets the character encoding used when reading the headers of an individual part.
getHeaderNames() - Method in interface org.apache.commons.fileupload.FileItemHeaders
Returns an Iterator of all the header names.
getHeaderNames() - Method in class org.apache.commons.fileupload.util.FileItemHeadersImpl
 
getHeaders() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets the file item headers.
getHeaders() - Method in interface org.apache.commons.fileupload.FileItemHeadersSupport
Returns the collection of headers defined locally within this item.
getHeaders() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Returns the file item headers.
getHeaders(String) - Method in interface org.apache.commons.fileupload.FileItemHeaders
Returns all the values of the specified item header as an Iterator of String objects.
getHeaders(String) - Method in class org.apache.commons.fileupload.util.FileItemHeadersImpl
 
getInputStream() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets 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.
getInputStream() - Method in interface org.apache.commons.fileupload.RequestContext
Retrieve the input stream for the request.
getInputStream() - Method in class org.apache.commons.fileupload.servlet.ServletRequestContext
Retrieve the input stream for the request.
getItemIterator(HttpServletRequest) - Method in class org.apache.commons.fileupload.servlet.ServletFileUpload
Processes an RFC 1867 compliant multipart/form-data stream.
getItemIterator(RequestContext) - Method in class org.apache.commons.fileupload.FileUploadBase
Processes an RFC 1867 compliant multipart/form-data stream.
getJavaCharset(String) - Static method in class org.apache.commons.fileupload.RFC2231Utility
 
getLimit() - Method in exception class org.apache.commons.fileupload.FileCountLimitExceededException
Gets the limit that was exceeded.
getName() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets the original file name in the client's file system.
getName() - Method in interface org.apache.commons.fileupload.FileItem
Returns the original file name in the client's file system, as provided by the browser (or other client software).
getName() - Method in interface org.apache.commons.fileupload.FileItemStream
Returns the original file name in the client's file system, as provided by the browser (or other client software).
getName() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Returns the items file name.
getName() - Method in exception class org.apache.commons.fileupload.InvalidFileNameException
Returns the invalid file name.
getOutputStream() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets 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.
getParsedHeaders(String) - Method in class org.apache.commons.fileupload.FileUploadBase
Parses the header-part and returns as key/value pairs.
getPartHeaderSizeMax() - Method in class org.apache.commons.fileupload.FileUploadBase
Obtain the per part size limit for headers.
getPartHeaderSizeMax() - Method in class org.apache.commons.fileupload.MultipartStream
Obtain the per part size limit for headers.
getPermittedSize() - Method in exception class org.apache.commons.fileupload.FileUploadBase.SizeException
Gets the permitted size of the request.
getProgressListener() - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the progress listener.
getRepository() - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Gets the directory used to temporarily store files that are larger than the configured size threshold.
getRepositoryPath() - Method in class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
1.1 Use DiskFileItemFactory instead.
getSize() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets the size of the file.
getSize() - Method in interface org.apache.commons.fileupload.FileItem
Returns the size of the file item.
getSizeMax() - Method in class org.apache.commons.fileupload.FileUploadBase
Returns the maximum allowed size of a complete request, as opposed to FileUploadBase.getFileSizeMax().
getSizeThreshold() - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Gets the size threshold beyond which files are written directly to disk.
getSizeThreshold() - Method in class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
1.1 Use DiskFileItemFactory instead.
getStoreLocation() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets the File object for the FileItem's data's temporary location on the disk.
getString() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets 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 item as a String, using the default character encoding.
getString(String) - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Gets 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 item as a String, using the specified encoding.
getTempFile() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Creates and returns a File representing a uniquely named temporary file in the configured repository path.
getToken(boolean) - Method in class org.apache.commons.fileupload.ParameterParser
A helper method to process the parsed token.
getUniqueId() - Static method in class org.apache.commons.fileupload.disk.DiskFileItem
Returns an identifier that is unique within the class loader used to load this class, but does not have random-like appearance.

H

hasChar() - Method in class org.apache.commons.fileupload.ParameterParser
Are there any characters left to parse?
hasEncodedValue(String) - Static method in class org.apache.commons.fileupload.RFC2231Utility
Checks if Asterisk (*) at the end of parameter name to indicate, if it has charset and language information to decode the value.
hasNext() - Method in interface org.apache.commons.fileupload.FileItemIterator
Returns, whether another instance of FileItemStream is available.
hasNext() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
Returns, whether another instance of FileItemStream is available.
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
Deprecated.
HEADER_SEPARATOR - Static variable in class org.apache.commons.fileupload.MultipartStream
A byte sequence that marks the end of header-part (CRLFCRLF).
headerEncoding - Variable in class org.apache.commons.fileupload.FileUploadBase
The content encoding to use when reading part headers.
headerEncoding - Variable in class org.apache.commons.fileupload.MultipartStream
The content encoding to use when reading headers.
headerNameToValueListMap - Variable in class org.apache.commons.fileupload.util.FileItemHeadersImpl
Map of String keys to a List of String instances.
headers - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
The file items headers.
headers - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
The headers, if any.
HEX_DECODE - Static variable in class org.apache.commons.fileupload.RFC2231Utility
The Hexadecimal decode value.
HEX_DIGITS - Static variable in class org.apache.commons.fileupload.RFC2231Utility
The Hexadecimal values char array.
hexToBinary(byte) - Static method in class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
Convert a hex digit to the binary value it represents.

I

i1 - Variable in class org.apache.commons.fileupload.ParameterParser
Start of a token.
i2 - Variable in class org.apache.commons.fileupload.ParameterParser
End of a token.
IllegalBoundaryException() - Constructor for exception class org.apache.commons.fileupload.MultipartStream.IllegalBoundaryException
Constructs an IllegalBoundaryException with no detail message.
IllegalBoundaryException(String) - Constructor for exception class org.apache.commons.fileupload.MultipartStream.IllegalBoundaryException
Constructs an IllegalBoundaryException with the specified detail message.
input - Variable in class org.apache.commons.fileupload.MultipartStream
The input stream from which data is read.
inputStream - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
The file items input stream.
InvalidContentTypeException() - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException
Constructs a InvalidContentTypeException with no detail message.
InvalidContentTypeException(String) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException
Constructs an InvalidContentTypeException with the specified detail message.
InvalidContentTypeException(String, Throwable) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException
Constructs an InvalidContentTypeException with the specified detail message and cause.
InvalidFileNameException - Exception Class in org.apache.commons.fileupload
This exception is thrown in case of an invalid file name.
InvalidFileNameException(String, String) - Constructor for exception class org.apache.commons.fileupload.InvalidFileNameException
Creates a new instance.
IOFileUploadException(String, IOException) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.IOFileUploadException
Creates a new instance with the given cause.
isClosed() - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Returns, whether the stream is closed.
isClosed() - Method in interface org.apache.commons.fileupload.util.Closeable
Returns, whether the object is already closed.
isClosed() - Method in class org.apache.commons.fileupload.util.LimitedInputStream
Returns, whether this stream is already closed.
isFormField() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Tests 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.
isFormField() - Method in interface org.apache.commons.fileupload.FileItemStream
Determines whether or not a FileItem instance represents a simple form field.
isFormField() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Returns, whether this is a form field.
isInMemory() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
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.
isLowerCaseNames() - Method in class org.apache.commons.fileupload.ParameterParser
Returns true if parameter names are to be converted to lower case when name/value pairs are parsed.
isMultipartContent(HttpServletRequest) - Static method in class org.apache.commons.fileupload.FileUploadBase
Deprecated.
1.1 Use the method on ServletFileUpload instead.
isMultipartContent(HttpServletRequest) - Static method in class org.apache.commons.fileupload.servlet.ServletFileUpload
Utility method that determines whether the request contains multipart content.
isMultipartContent(RequestContext) - Static method in class org.apache.commons.fileupload.FileUploadBase
Utility method that determines whether the request contains multipart content.
isOneOf(char, char[]) - Method in class org.apache.commons.fileupload.ParameterParser
Tests if the given character is present in the array of characters.
ItemInputStream() - Constructor for class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Creates a new instance.
items - Variable in class org.apache.commons.fileupload.MultipartStream.ProgressNotifier
Number of items, which have been read so far.
ItemSkippedException() - Constructor for exception class org.apache.commons.fileupload.FileItemStream.ItemSkippedException
Constructs a new instance.
itemValid - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
Whether the current item may still be read.

J

javaCharset(String) - Static method in class org.apache.commons.fileupload.util.mime.MimeUtility
Translate a MIME standard character set name into the Java equivalent.

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.

L

len - Variable in class org.apache.commons.fileupload.ParameterParser
Maximum position in the string.
LF - Static variable in class org.apache.commons.fileupload.FileUploadBase
Line feed.
LF - Static variable in class org.apache.commons.fileupload.MultipartStream
The Line Feed ASCII character value.
LF - Static variable in class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
Line feed character ''\n''.
limit - Variable in exception class org.apache.commons.fileupload.FileCountLimitExceededException
The limit that was exceeded.
LimitedInputStream - Class in org.apache.commons.fileupload.util
An input stream, which limits its data size.
LimitedInputStream(InputStream, long) - Constructor for class org.apache.commons.fileupload.util.LimitedInputStream
Creates a new instance.
LINEAR_WHITESPACE - Static variable in class org.apache.commons.fileupload.util.mime.MimeUtility
The linear whitespace chars sequence.
listener - Variable in class org.apache.commons.fileupload.FileUploadBase
The progress listener.
listener - Variable in class org.apache.commons.fileupload.MultipartStream.ProgressNotifier
The listener to invoke.
lowerCaseNames - Variable in class org.apache.commons.fileupload.ParameterParser
Whether names stored in the map should be converted to lower case.

M

makeAvailable() - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Attempts to read more data.
MalformedStreamException() - Constructor for exception class org.apache.commons.fileupload.MultipartStream.MalformedStreamException
Constructs a MalformedStreamException with no detail message.
MalformedStreamException(String) - Constructor for exception class org.apache.commons.fileupload.MultipartStream.MalformedStreamException
Constructs an MalformedStreamException with the specified detail message.
MASK - Static variable in class org.apache.commons.fileupload.RFC2231Utility
The Hexadecimal representation of 127.
MASK_128 - Static variable in class org.apache.commons.fileupload.RFC2231Utility
The Hexadecimal representation of 128.
MAX_HEADER_SIZE - Static variable in class org.apache.commons.fileupload.FileUploadBase
Deprecated.
This constant is no longer used. As of commons-fileupload 1.6, the applicable limit is the total size of a single part's headers, FileUploadBase.getPartHeaderSizeMax() in bytes.
MIME2JAVA - Static variable in class org.apache.commons.fileupload.util.mime.MimeUtility
Mappings between MIME and Java charset.
MimeUtility - Class in org.apache.commons.fileupload.util.mime
Utility class to decode MIME texts.
MimeUtility() - Constructor for class org.apache.commons.fileupload.util.mime.MimeUtility
Hidden constructor, this class must not be instantiated.
multi - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
The multi part stream to process.
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.
MULTIPART_RELATED - Static variable in class org.apache.commons.fileupload.FileUploadBase
HTTP content type header for multiple related data.
multipartRelated - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
Is this a multipart/related Request.
MultipartStream - Class in org.apache.commons.fileupload
Low level API for processing file uploads.
MultipartStream() - Constructor for class org.apache.commons.fileupload.MultipartStream
MultipartStream(InputStream, byte[]) - Constructor for class org.apache.commons.fileupload.MultipartStream
MultipartStream(InputStream, byte[], int) - Constructor for class org.apache.commons.fileupload.MultipartStream
MultipartStream(InputStream, byte[], int, MultipartStream.ProgressNotifier) - Constructor for class org.apache.commons.fileupload.MultipartStream
Constructs a MultipartStream with a custom size buffer.
MultipartStream(InputStream, byte[], MultipartStream.ProgressNotifier) - Constructor for class org.apache.commons.fileupload.MultipartStream
Constructs a MultipartStream with a default size buffer.
MultipartStream.IllegalBoundaryException - Exception Class in org.apache.commons.fileupload
Thrown upon attempt of setting an invalid boundary token.
MultipartStream.ItemInputStream - Class in org.apache.commons.fileupload
An InputStream for reading an items contents.
MultipartStream.MalformedStreamException - Exception Class in org.apache.commons.fileupload
Thrown to indicate that the input stream fails to follow the required syntax.
MultipartStream.ProgressNotifier - Class in org.apache.commons.fileupload
Internal class, which is used to invoke the ProgressListener.

N

name - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
The file items file name.
name - Variable in exception class org.apache.commons.fileupload.InvalidFileNameException
The file name causing the exception.
newFileItemHeaders() - Method in class org.apache.commons.fileupload.FileUploadBase
Creates a new instance of FileItemHeaders.
newInputStream() - Method in class org.apache.commons.fileupload.MultipartStream
next() - Method in interface org.apache.commons.fileupload.FileItemIterator
Returns the next available FileItemStream.
next() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
Returns the next available FileItemStream.
noteBytesRead(int) - Method in class org.apache.commons.fileupload.MultipartStream.ProgressNotifier
Called to indicate that bytes have been read.
noteItem() - Method in class org.apache.commons.fileupload.MultipartStream.ProgressNotifier
Called to indicate, that a new file item has been detected.
notifier - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
The notifier, which used for triggering the ProgressListener.
notifier - Variable in class org.apache.commons.fileupload.MultipartStream
The progress notifier, if any, or null.
notifyListener() - Method in class org.apache.commons.fileupload.MultipartStream.ProgressNotifier
Called for notifying the listener.

O

openStream() - Method in interface org.apache.commons.fileupload.FileItemStream
Creates an InputStream, which allows to read the items contents.
openStream() - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Returns an input stream, which may be used to read the items contents.
org.apache.commons.fileupload - package org.apache.commons.fileupload
A component for handling HTML file uploads as specified by RFC 1867.
org.apache.commons.fileupload.disk - package org.apache.commons.fileupload.disk
A disk-based implementation of the FileItem interface.
org.apache.commons.fileupload.servlet - package org.apache.commons.fileupload.servlet
An implementation of FileUpload for use in servlets conforming to JSR 53.
org.apache.commons.fileupload.util - package 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.
org.apache.commons.fileupload.util.mime - package org.apache.commons.fileupload.util.mime
MIME decoder implementation, imported and retailed from Apache Geronimo.

P

pad - Variable in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
The number of bytes, which must be hold, because they might be a part of the boundary.
ParameterParser - Class in org.apache.commons.fileupload
A simple parser intended to parse sequences of name/value pairs.
ParameterParser() - Constructor for class org.apache.commons.fileupload.ParameterParser
Default ParameterParser constructor.
parse(char[], char) - Method in class org.apache.commons.fileupload.ParameterParser
Extracts a map of name/value pairs from the given array of characters.
parse(char[], int, int, char) - Method in class org.apache.commons.fileupload.ParameterParser
Extracts a map of name/value pairs from the given array of characters.
parse(String, char) - Method in class org.apache.commons.fileupload.ParameterParser
Extracts a map of name/value pairs from the given string.
parse(String, char[]) - Method in class org.apache.commons.fileupload.ParameterParser
Extracts a map of name/value pairs from the given string.
parseEndOfLine(String, int) - Method in class org.apache.commons.fileupload.FileUploadBase
Skips bytes until the end of the current line.
ParseException - Exception Class in org.apache.commons.fileupload.util.mime
Thrown for a parsing problem.
ParseException(String) - Constructor for exception class org.apache.commons.fileupload.util.mime.ParseException
Constructs a new exception with the specified detail message.
parseHeaderLine(FileItemHeadersImpl, String) - Method in class org.apache.commons.fileupload.FileUploadBase
Reads the next header line.
parseHeaders(String) - Method in class org.apache.commons.fileupload.FileUploadBase
parseParameterMap(HttpServletRequest) - Method in class org.apache.commons.fileupload.servlet.ServletFileUpload
Processes an RFC 1867 compliant multipart/form-data stream.
parseParameterMap(RequestContext) - Method in class org.apache.commons.fileupload.FileUploadBase
Processes an RFC 1867 compliant multipart/form-data stream.
parseQuotedToken(char[]) - Method in class org.apache.commons.fileupload.ParameterParser
Parses out a token until any of the given terminators is encountered outside the quotation marks.
parseRequest(HttpServletRequest) - Method in class org.apache.commons.fileupload.FileUploadBase
parseRequest(HttpServletRequest) - Method in class org.apache.commons.fileupload.servlet.ServletFileUpload
Processes an RFC 1867 compliant multipart/form-data stream.
parseRequest(HttpServletRequest, int, long, String) - Method in class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
1.1 Use ServletFileUpload instead.
parseRequest(RequestContext) - Method in class org.apache.commons.fileupload.FileUploadBase
Processes an RFC 1867 compliant multipart/form-data stream.
parseToken(char[]) - Method in class org.apache.commons.fileupload.ParameterParser
Parses out a token until any of the given terminators is encountered.
partHeaderSizeMax - Variable in class org.apache.commons.fileupload.FileUploadBase
The maximum permitted size of the headers provided with a single part in bytes.
partHeaderSizeMax - Variable in class org.apache.commons.fileupload.MultipartStream
The maximum permitted size of the headers provided with a single part in bytes.
PERCENT - Static variable in class org.apache.commons.fileupload.RFC2231Utility
Percent character ''%''.
permitted - Variable in exception class org.apache.commons.fileupload.FileUploadBase.SizeException
The maximum permitted size of the request.
pos - Variable in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
The current offset in the buffer.
pos - Variable in class org.apache.commons.fileupload.ParameterParser
Current position in the string.
POST_METHOD - Static variable in class org.apache.commons.fileupload.servlet.ServletFileUpload
Constant for HTTP POST method.
ProgressListener - Interface in org.apache.commons.fileupload
The ProgressListener may be used to display a progress bar or do stuff like that.
ProgressNotifier(ProgressListener, long) - Constructor for class org.apache.commons.fileupload.MultipartStream.ProgressNotifier
Creates a new instance with the given listener and content length.

Q

QUOTEDPRINTABLE_ENCODING_MARKER - Static variable in class org.apache.commons.fileupload.util.mime.MimeUtility
The marker to indicate text is encoded with QuotedPrintable algorithm.
QuotedPrintableDecoder - Class in org.apache.commons.fileupload.util.mime
 
QuotedPrintableDecoder() - Constructor for class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
Hidden constructor, this class must not be instantiated.

R

raiseError(long, long) - Method in class org.apache.commons.fileupload.util.LimitedInputStream
Called to indicate, that the input streams limit has been exceeded.
read() - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Returns the next byte in the stream.
read() - Method in class org.apache.commons.fileupload.util.LimitedInputStream
Reads the next byte of data from this input stream.
read(byte[], int, int) - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Reads bytes into the given buffer.
read(byte[], int, int) - Method in class org.apache.commons.fileupload.util.LimitedInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
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.
repository - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
The directory in which uploaded files will be stored, if stored on disk.
repository - Variable in class org.apache.commons.fileupload.disk.DiskFileItemFactory
The directory in which uploaded files will be stored, if stored on disk.
request - Variable in class org.apache.commons.fileupload.servlet.ServletRequestContext
The request for which the context is being provided.
RequestContext - Interface in org.apache.commons.fileupload
Abstracts access to the request information needed for file uploads.
RFC2231Utility - Class in org.apache.commons.fileupload
Utility class to decode/encode character set on HTTP Header fields based on RFC 2231.
RFC2231Utility() - Constructor for class org.apache.commons.fileupload.RFC2231Utility
Private constructor so that no instances can be created.

S

serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileCountLimitExceededException
 
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileItemStream.ItemSkippedException
The exceptions serial version UID, which is being used when serializing an exception instance.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
The exceptions UID, for serializing an instance.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileUploadBase.FileUploadIOException
The exceptions UID, for serializing an instance.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException
The exceptions UID, for serializing an instance.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileUploadBase.IOFileUploadException
The exceptions UID, for serializing an instance.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileUploadBase.SizeException
Serial version UID, being used, if serialized.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
The exceptions UID, for serializing an instance.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileUploadBase.UnknownSizeException
Deprecated.
The exceptions UID, for serializing an instance.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.FileUploadException
Serial version UID, being used, if the exception is serialized.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.InvalidFileNameException
Serial version UID, being used, if the exception is serialized.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.MultipartStream.IllegalBoundaryException
The UID to use when serializing this instance.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.MultipartStream.MalformedStreamException
The UID to use when serializing this instance.
serialVersionUID - Static variable in class org.apache.commons.fileupload.util.FileItemHeadersImpl
Serial version UID, being used, if serialized.
serialVersionUID - Static variable in exception class org.apache.commons.fileupload.util.mime.ParseException
The UID to use when serializing this instance.
ServletFileUpload - Class in org.apache.commons.fileupload.servlet
High level API for processing file uploads.
ServletFileUpload() - Constructor for class org.apache.commons.fileupload.servlet.ServletFileUpload
Constructs an uninitialized instance of this class.
ServletFileUpload(FileItemFactory) - Constructor for class org.apache.commons.fileupload.servlet.ServletFileUpload
Constructs an instance of this class which uses the supplied factory to create FileItem instances.
ServletRequestContext - Class in org.apache.commons.fileupload.servlet
Provides access to the request information needed for a request made to an HTTP servlet.
ServletRequestContext(HttpServletRequest) - Constructor for class org.apache.commons.fileupload.servlet.ServletRequestContext
Construct a context for this request.
setBoundary(byte[]) - Method in class org.apache.commons.fileupload.MultipartStream
Changes the boundary token used for partitioning the stream.
setDefaultCharset(String) - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Sets the default charset for use when no explicit charset parameter is provided by the sender.
setDefaultCharset(String) - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Sets the default charset for use when no explicit charset parameter is provided by the sender.
setFieldName(String) - Method in class org.apache.commons.fileupload.disk.DiskFileItem
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.
setFieldName(String) - Method in exception class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
Sets the field name of the item, which caused the exception.
setFileCleaningTracker(ServletContext, FileCleaningTracker) - Static method in class org.apache.commons.fileupload.servlet.FileCleanerCleanup
Sets the instance of FileCleaningTracker, which is associated with the given ServletContext.
setFileCleaningTracker(FileCleaningTracker) - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Sets the tracker, which is responsible for deleting temporary files.
setFileCountMax(long) - Method in class org.apache.commons.fileupload.FileUploadBase
Sets the maximum number of files allowed per request.
setFileItemFactory(FileItemFactory) - Method in class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
1.1 Use FileUpload instead.
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.FileUploadBase
Sets the factory class to use when creating file items.
setFileName(String) - Method in exception class org.apache.commons.fileupload.FileUploadBase.FileSizeLimitExceededException
Sets the file name of the item, which caused the exception.
setFileSizeMax(long) - Method in class org.apache.commons.fileupload.FileUploadBase
Sets the maximum allowed size of a single uploaded file, as opposed to FileUploadBase.getSizeMax().
setFormField(boolean) - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Sets whether or not a FileItem instance represents a simple form field.
setFormField(boolean) - Method in interface org.apache.commons.fileupload.FileItem
Specifies whether or not a FileItem instance represents a simple form field.
setHeaderEncoding(String) - Method in class org.apache.commons.fileupload.FileUploadBase
Specifies the character encoding to be used when reading the headers of individual part.
setHeaderEncoding(String) - Method in class org.apache.commons.fileupload.MultipartStream
Specifies the character encoding to be used when reading the headers of individual parts.
setHeaders(FileItemHeaders) - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Sets the file item headers.
setHeaders(FileItemHeaders) - Method in interface org.apache.commons.fileupload.FileItemHeadersSupport
Sets the headers read from within an item.
setHeaders(FileItemHeaders) - Method in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl.FileItemStreamImpl
Sets the file item headers.
setLowerCaseNames(boolean) - Method in class org.apache.commons.fileupload.ParameterParser
Sets the flag if parameter names are to be converted to lower case when name/value pairs are parsed.
setPartHeaderSizeMax(int) - Method in class org.apache.commons.fileupload.FileUploadBase
Sets the per part size limit for headers.
setPartHeaderSizeMax(int) - Method in class org.apache.commons.fileupload.MultipartStream
Sets the per part size limit for headers.
setProgressListener(ProgressListener) - Method in class org.apache.commons.fileupload.FileUploadBase
Sets the progress listener.
setRepository(File) - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
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
Deprecated.
1.1 Use DiskFileItemFactory instead.
setSizeMax(long) - Method in class org.apache.commons.fileupload.FileUploadBase
Sets the maximum allowed size of a complete request, as opposed to FileUploadBase.setFileSizeMax(long).
setSizeThreshold(int) - Method in class org.apache.commons.fileupload.disk.DiskFileItemFactory
Sets the size threshold beyond which files are written directly to disk.
setSizeThreshold(int) - Method in class org.apache.commons.fileupload.DiskFileUpload
Deprecated.
1.1 Use DiskFileItemFactory instead.
size - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
The size of the item, in bytes.
SizeException(String, long, long) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.SizeException
Creates a new instance.
SizeLimitExceededException() - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
SizeLimitExceededException(String) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
SizeLimitExceededException(String, long, long) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.SizeLimitExceededException
Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
sizeMax - Variable in class org.apache.commons.fileupload.FileUploadBase
The maximum size permitted for the complete request, as opposed to FileUploadBase.fileSizeMax.
sizeMax - Variable in class org.apache.commons.fileupload.util.LimitedInputStream
The maximum size of an item, in bytes.
sizeThreshold - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
The threshold above which uploads will be stored on disk.
sizeThreshold - Variable in class org.apache.commons.fileupload.disk.DiskFileItemFactory
The threshold above which uploads will be stored on disk.
skip(long) - Method in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
Skips the given number of bytes.
skipPreamble - Variable in class org.apache.commons.fileupload.FileUploadBase.FileItemIteratorImpl
Whether we are currently skipping the preamble.
skipPreamble() - Method in class org.apache.commons.fileupload.MultipartStream
Finds the beginning of the first encapsulation.
SP - Static variable in class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
Space character '' ''.
STREAM_TERMINATOR - Static variable in class org.apache.commons.fileupload.MultipartStream
A byte sequence that follows a delimiter of the last encapsulation in the stream (--).
Streams - Class in org.apache.commons.fileupload.util
Utility class for working with streams.
Streams() - Constructor for class org.apache.commons.fileupload.util.Streams
Private constructor, to prevent instantiation.
stripDelimiter(String) - Static method in class org.apache.commons.fileupload.RFC2231Utility
If paramName has Asterisk (*) at the end, it will be stripped off, else the passed value will be returned.

T

tail - Variable in class org.apache.commons.fileupload.MultipartStream
The index of last valid character in the buffer + 1.
tempFile - Variable in class org.apache.commons.fileupload.disk.DiskFileItem
The temporary file to use.
toString() - Method in class org.apache.commons.fileupload.disk.DiskFileItem
Returns a string representation of this object.
toString() - Method in class org.apache.commons.fileupload.servlet.ServletRequestContext
Returns a string representation of this object.
total - Variable in class org.apache.commons.fileupload.MultipartStream.ItemInputStream
The number of bytes, which have been read so far.

U

UID - Static variable in class org.apache.commons.fileupload.disk.DiskFileItem
UID used in unique file name generation.
UNDERSCORE - Static variable in class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
Underscore character ''_''.
UnknownSizeException() - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.UnknownSizeException
Deprecated.
Constructs a UnknownSizeException with no detail message.
UnknownSizeException(String) - Constructor for exception class org.apache.commons.fileupload.FileUploadBase.UnknownSizeException
Deprecated.
Constructs an UnknownSizeException with the specified detail message.
update(long, long, int) - Method in interface org.apache.commons.fileupload.ProgressListener
Updates the listeners status information.
UploadContext - Interface in org.apache.commons.fileupload
Enhanced access to the request information needed for file uploads, which fixes the Content Length data access in RequestContext.
UPPER_NIBBLE_SHIFT - Static variable in class org.apache.commons.fileupload.util.mime.QuotedPrintableDecoder
The shift value required to create the upper nibble from the first of 2 byte values converted from ASCII hex.
US_ASCII_CHARSET - Static variable in class org.apache.commons.fileupload.util.mime.MimeUtility
The US-ASCII charset identifier constant.

W

write(File) - Method in class org.apache.commons.fileupload.disk.DiskFileItem
A convenience method to write an uploaded item to disk.
write(File) - Method in interface org.apache.commons.fileupload.FileItem
A convenience method to write an uploaded item to disk.
A B C D E F G H I J K L M N O P Q R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form