Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractFileItemBuilder() - Constructor for class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Constructs a new instance.
- AbstractFileUpload<R,I, - Class in org.apache.commons.fileupload2.coreF> 
- 
High level API for processing file uploads.
- AbstractFileUpload() - Constructor for class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Constructs a new instance for subclasses.
- AbstractRequestContext<T> - Class in org.apache.commons.fileupload2.core
- 
Abstracts a RequestContext for implementations.
- AbstractRequestContext(Function<String, String>, LongSupplier, T) - Constructor for class org.apache.commons.fileupload2.core.AbstractRequestContext
- 
Constructs a new instance.
- addHeader(String, String) - Method in interface org.apache.commons.fileupload2.core.FileItemHeaders
- 
Adds a header.
- ATTACHMENT - Static variable in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Content-disposition value for file attachment.
- available() - Method in class org.apache.commons.fileupload2.core.MultipartInput.ItemInputStream
- 
Returns the number of bytes, which are currently available, without blocking.
B
- builder() - Static method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Constructs a newDiskFileItem.Builder.
- builder() - Static method in class org.apache.commons.fileupload2.core.DiskFileItemFactory
- 
Constructs a newDiskFileItemFactory.Builder.
- builder() - Static method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Constructs a newMultipartInput.Builder.
- Builder() - Constructor for class org.apache.commons.fileupload2.core.DiskFileItem.Builder
- 
Constructs a new instance.
- Builder() - Constructor for class org.apache.commons.fileupload2.core.DiskFileItemFactory.Builder
- 
Constructs a new instance.
- Builder() - Constructor for class org.apache.commons.fileupload2.core.MultipartInput.Builder
- 
Constructs a new instance.
C
- checkFileName(String) - Static method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Tests if the file name is valid.
- close() - Method in class org.apache.commons.fileupload2.core.MultipartInput.ItemInputStream
- 
Closes the input stream.
- close(boolean) - Method in class org.apache.commons.fileupload2.core.MultipartInput.ItemInputStream
- 
Closes the input stream.
- CONTENT_DISPOSITION - Static variable in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
HTTP content disposition header name.
- CONTENT_LENGTH - Static variable in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
HTTP content length header name.
- CONTENT_TYPE - Static variable in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
HTTP content type header name.
- CR - Static variable in class org.apache.commons.fileupload2.core.MultipartInput
- 
The Carriage Return ASCII character value.
D
- DASH - Static variable in class org.apache.commons.fileupload2.core.MultipartInput
- 
The dash (-) ASCII character value.
- DEFAULT_CHARSET - Static variable in class org.apache.commons.fileupload2.core.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.fileupload2.core.MultipartInput
- 
Default per part header size limit in bytes.
- DEFAULT_THRESHOLD - Static variable in class org.apache.commons.fileupload2.core.DiskFileItemFactory
- 
The default threshold in bytes above which uploads will be stored on disk.
- delete() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
- delete() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
- discardBodyData() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Readsbody-datafrom the currentencapsulationand discards it.
- DiskFileItem - Class in org.apache.commons.fileupload2.core
- 
The default implementation of theFileIteminterface.
- DiskFileItem.Builder - Class in org.apache.commons.fileupload2.core
- 
Builds a newDiskFileIteminstance.
- DiskFileItemFactory - Class in org.apache.commons.fileupload2.core
- 
The defaultFileItemFactoryimplementation.
- DiskFileItemFactory.Builder - Class in org.apache.commons.fileupload2.core
- 
Builds a newDiskFileItemFactoryinstance.
F
- FileItem<F> - Interface in org.apache.commons.fileupload2.core
- 
This class represents a file or form item that was received within amultipart/form-dataPOST request.
- fileItemBuilder() - Method in class org.apache.commons.fileupload2.core.DiskFileItemFactory
- fileItemBuilder() - Method in interface org.apache.commons.fileupload2.core.FileItemFactory
- 
Creates a new AbstractFileItemBuilder.
- FileItemFactory<I> - Interface in org.apache.commons.fileupload2.core
- 
CreatesFileIteminstances.
- FileItemFactory.AbstractFileItemBuilder<I,B> - Class in org.apache.commons.fileupload2.core
- 
Abstracts building for subclasses.
- FileItemHeaders - Interface in org.apache.commons.fileupload2.core
- 
This class provides support for accessing the headers for a file or form item that was received within amultipart/form-dataPOST request.
- FileItemHeadersProvider<T> - Interface in org.apache.commons.fileupload2.core
- 
Provides access to headers.
- FileItemInput - Interface in org.apache.commons.fileupload2.core
- 
Provides access to a file or form item that was received within amultipart/form-dataPOST request.
- FileItemInput.ItemSkippedException - Exception Class in org.apache.commons.fileupload2.core
- 
This exception is thrown, if an attempt is made to read data from theInputStream, which has been returned byFileItemInput.getInputStream(), afterIterator.hasNext()has been invoked on the iterator, which created theFileItemInput.
- FileItemInputIterator - Interface in org.apache.commons.fileupload2.core
- 
An iterator, as returned byAbstractFileUpload.getItemIterator(RequestContext).
- FileUploadBoundaryException(String) - Constructor for exception class org.apache.commons.fileupload2.core.MultipartInput.FileUploadBoundaryException
- 
Constructs an instance with the specified detail message.
- FileUploadByteCountLimitException - Exception Class in org.apache.commons.fileupload2.core
- 
Signals that a file size exceeds the configured maximum.
- FileUploadByteCountLimitException(String, long, long, String, String) - Constructor for exception class org.apache.commons.fileupload2.core.FileUploadByteCountLimitException
- 
Constructs an instance with the specified detail message, and actual and permitted sizes.
- FileUploadContentTypeException - Exception Class in org.apache.commons.fileupload2.core
- 
Signals that a request is not a multipart request.
- FileUploadContentTypeException(String, String) - Constructor for exception class org.apache.commons.fileupload2.core.FileUploadContentTypeException
- 
Constructs an instance with the specified detail message.
- FileUploadContentTypeException(String, Throwable) - Constructor for exception class org.apache.commons.fileupload2.core.FileUploadContentTypeException
- 
Constructs an instance with the specified detail message and cause.
- FileUploadException - Exception Class in org.apache.commons.fileupload2.core
- 
Signals errors encountered while processing the request.
- FileUploadException(String) - Constructor for exception class org.apache.commons.fileupload2.core.FileUploadException
- 
Constructs an instance with a given detail message.
- FileUploadException(String, Throwable) - Constructor for exception class org.apache.commons.fileupload2.core.FileUploadException
- 
Constructs an instance with the given detail message and cause.
- FileUploadFileCountLimitException - Exception Class in org.apache.commons.fileupload2.core
- 
Signals that a request contains more files than the specified limit.
- FileUploadFileCountLimitException(String, long, long) - Constructor for exception class org.apache.commons.fileupload2.core.FileUploadFileCountLimitException
- 
Constructs an instance.
- FileUploadSizeException - Exception Class in org.apache.commons.fileupload2.core
- 
Signals that a requests permitted size is exceeded.
- FileUploadSizeException(String, long, long) - Constructor for exception class org.apache.commons.fileupload2.core.FileUploadSizeException
- 
Constructs an instance.
- findByte(byte, int) - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Searches for a byte of specified value in thebuffer, starting at the specifiedposition.
- findSeparator() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Searches for theboundaryin thebufferregion delimited byheadandtail.
- FORM_DATA - Static variable in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Content-disposition value for form data.
G
- get() - Method in class org.apache.commons.fileupload2.core.DiskFileItem.Builder
- 
Constructs a new instance.
- get() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the contents of the file as an array of bytes.
- get() - Method in class org.apache.commons.fileupload2.core.DiskFileItemFactory.Builder
- 
Constructs a new instance.
- get() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets the contents of the file item as a byte array.
- get() - Method in class org.apache.commons.fileupload2.core.MultipartInput.Builder
- 
Constructs a new instance.
- getActualSize() - Method in exception class org.apache.commons.fileupload2.core.FileUploadSizeException
- 
Gets the actual size of the request.
- getBoundary(String) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the boundary from theContent-typeheader.
- getBytesRead() - Method in class org.apache.commons.fileupload2.core.MultipartInput.ItemInputStream
- 
Gets the number of bytes, which have been read by the stream.
- getCharacterEncoding() - Method in interface org.apache.commons.fileupload2.core.RequestContext
- 
Gets the character encoding for the request.
- getCharset() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the content charset passed by the agent ornullif not defined.
- getCharset() - Method in interface org.apache.commons.fileupload2.core.RequestContext
- 
Gets the character encoding for the request or null if unspecified.
- getCharsetDefault() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the default charset for use when no explicit charset parameter is provided by the sender.
- getCharsetDefault() - Method in class org.apache.commons.fileupload2.core.DiskFileItemFactory
- 
Gets the default charset for use when no explicit charset parameter is provided by the sender.
- getContentLength() - Method in class org.apache.commons.fileupload2.core.AbstractRequestContext
- 
Gets the content length of the request.
- getContentLength() - Method in interface org.apache.commons.fileupload2.core.RequestContext
- 
Gets the content length of the request.
- getContentType() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the content type passed by the agent ornullif not defined.
- getContentType() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets the content type passed by the browser ornullif not defined.
- getContentType() - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Gets the content type.
- getContentType() - Method in interface org.apache.commons.fileupload2.core.FileItemInput
- 
Gets the content type passed by the browser ornullif not defined.
- getContentType() - Method in exception class org.apache.commons.fileupload2.core.FileUploadContentTypeException
- 
Gets the content type.
- getContentType() - Method in interface org.apache.commons.fileupload2.core.RequestContext
- 
Gets the content type of the request.
- getFieldName() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the name of the field in the multipart form corresponding to this file item.
- getFieldName() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets the name of the field in the multipart form corresponding to this file item.
- getFieldName() - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Gets the field name.
- getFieldName() - Method in interface org.apache.commons.fileupload2.core.FileItemInput
- 
Gets the name of the field in the multipart form corresponding to this file item.
- getFieldName() - Method in exception class org.apache.commons.fileupload2.core.FileUploadByteCountLimitException
- 
Gets the field name of the item, which caused the exception.
- getFieldName(FileItemHeaders) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the field name from theContent-dispositionheader.
- getFileCleaningTracker() - Method in class org.apache.commons.fileupload2.core.DiskFileItemFactory
- 
Gets the tracker, which is responsible for deleting temporary files.
- getFileCleaningTracker() - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Gets the file cleaning tracker.
- getFileCountMax() - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the maximum number of files allowed in a single request.
- getFileItemFactory() - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the factory class used when creating file items.
- getFileItemHeaders() - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Gets the field item headers.
- getFileName() - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Gets the file name.
- getFileName() - Method in exception class org.apache.commons.fileupload2.core.FileUploadByteCountLimitException
- 
Gets the file name of the item, which caused the exception.
- getFileName(FileItemHeaders) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the file name from theContent-dispositionheader.
- getFileSizeMax() - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the maximum allowed size of a single uploaded file, as opposed toAbstractFileUpload.getSizeMax().
- getFileSizeMax() - Method in interface org.apache.commons.fileupload2.core.FileItemInputIterator
- 
Gets the maximum size of a single file.
- getHeader(String) - Method in interface org.apache.commons.fileupload2.core.FileItemHeaders
- 
Gets the value of the specified part header as aString.
- getHeaderCharset() - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the character encoding used when reading the headers of an individual part.
- getHeaderCharset() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Gets the character encoding used when reading the headers of an individual part.
- getHeaderNames() - Method in interface org.apache.commons.fileupload2.core.FileItemHeaders
- 
Gets anIteratorof all the header names.
- getHeaders() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the file item headers.
- getHeaders() - Method in interface org.apache.commons.fileupload2.core.FileItemHeadersProvider
- 
Gets the collection of headers defined locally within this item.
- getHeaders(String) - Method in interface org.apache.commons.fileupload2.core.FileItemHeaders
- 
Gets all the values of the specified item header as anIteratorofStringobjects.
- getInputStream() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets anInputStreamthat can be used to retrieve the contents of the file.
- getInputStream() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets anInputStreamthat can be used to retrieve the contents of the file.
- getInputStream() - Method in interface org.apache.commons.fileupload2.core.FileItemInput
- 
Opens anInputStream, which allows to read the items contents.
- getInputStream() - Method in interface org.apache.commons.fileupload2.core.RequestContext
- 
Gets the input stream for the request.
- getItemIterator(RequestContext) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets an RFC 1867 compliantmultipart/form-datastream.
- getItemIterator(R) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets a file item iterator.
- getName() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the original file name in the client's file system.
- getName() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets 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.fileupload2.core.FileItemInput
- 
Gets the original file name in the client's file system, as provided by the browser (or other client software).
- getOutputStream() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets anOutputStreamthat can be used for storing the contents of the file.
- getOutputStream() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets anOutputStreamthat can be used for storing the contents of the file.
- getParsedHeaders(String) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Parses theheader-partand returns as key/value pairs.
- getPartHeaderSizeMax() - Method in class org.apache.commons.fileupload2.core.MultipartInput.Builder
- 
Returns the per part size limit for headers.
- getPartHeaderSizeMax() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Returns the per part size limit for headers.
- getPath() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets thePathfor theFileItem's data's temporary location on the disk.
- getPermitted() - Method in exception class org.apache.commons.fileupload2.core.FileUploadSizeException
- 
Gets the limit size of the request.
- getProgressListener() - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the progress listener.
- getRepository() - Method in class org.apache.commons.fileupload2.core.DiskFileItemFactory
- 
Gets the directory used to temporarily store files that are larger than the configured size threshold.
- getRequest() - Method in class org.apache.commons.fileupload2.core.AbstractRequestContext
- 
Gets the request.
- getSize() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the size of the file.
- getSize() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets the size of the file item.
- getSizeMax() - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Gets the maximum allowed size of a complete request, as opposed toAbstractFileUpload.getFileSizeMax().
- getSizeMax() - Method in interface org.apache.commons.fileupload2.core.FileItemInputIterator
- 
Gets the maximum size of the complete HTTP request.
- getString() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the contents of the file as a String, using the default character encoding.
- getString() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets the contents of the file item as a String, using the default character encoding.
- getString(Charset) - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Gets the contents of the file as a String, using the specified encoding.
- getString(Charset) - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Gets the contents of the file item as a String, using the specified encoding.
- getTempFile() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Creates and returns aFilerepresenting a uniquely named temporary file in the configured repository path.
- getThreshold() - Method in class org.apache.commons.fileupload2.core.DiskFileItemFactory
- 
Gets the size threshold beyond which files are written directly to disk.
H
- hasNext() - Method in interface org.apache.commons.fileupload2.core.FileItemInputIterator
- 
Tests whether another instance ofFileItemInputis available.
I
- isClosed() - Method in class org.apache.commons.fileupload2.core.MultipartInput.ItemInputStream
- 
Tests whether this instance is closed.
- isFormField() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Tests whether or not aFileIteminstance represents a simple form field.
- isFormField() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Tests whether or not aFileIteminstance represents a simple form field.
- isFormField() - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Tests whether this is a form field.
- isFormField() - Method in interface org.apache.commons.fileupload2.core.FileItemInput
- 
Tests whether or not aFileIteminstance represents a simple form field.
- isInMemory() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Provides a hint as to whether or not the file contents will be read from memory.
- isInMemory() - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Tests a hint as to whether or not the file contents will be read from memory.
- isLowerCaseNames() - Method in class org.apache.commons.fileupload2.core.ParameterParser
- 
Teststrueif parameter names are to be converted to lower case when name/value pairs are parsed.
- isMultipartContent(RequestContext) - Static method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Utility method that determines whether the request contains multipart content.
- isMultipartRelated() - Method in class org.apache.commons.fileupload2.core.AbstractRequestContext
- 
Tests whether the Request of typemultipart/related?
- isMultipartRelated() - Method in interface org.apache.commons.fileupload2.core.RequestContext
- 
Is the Request of typemultipart/related?
L
- LF - Static variable in class org.apache.commons.fileupload2.core.MultipartInput
- 
The Line Feed ASCII character value.
M
- MalformedStreamException(String) - Constructor for exception class org.apache.commons.fileupload2.core.MultipartInput.MalformedStreamException
- 
Constructs anMalformedStreamExceptionwith the specified detail message.
- MalformedStreamException(String, Throwable) - Constructor for exception class org.apache.commons.fileupload2.core.MultipartInput.MalformedStreamException
- 
Constructs anMalformedStreamExceptionwith the specified detail message.
- MULTIPART - Static variable in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Part of HTTP content type header.
- MULTIPART_FORM_DATA - Static variable in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
HTTP content type header for multipart forms.
- MULTIPART_MIXED - Static variable in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
HTTP content type header for multiple uploads.
- MultipartInput - Class in org.apache.commons.fileupload2.core
- 
Low-level API for processing file uploads.
- MultipartInput.Builder - Class in org.apache.commons.fileupload2.core
- 
Builds a newMultipartInputinstance.
- MultipartInput.FileUploadBoundaryException - Exception Class in org.apache.commons.fileupload2.core
- 
Signals an attempt to set an invalid boundary token.
- MultipartInput.ItemInputStream - Class in org.apache.commons.fileupload2.core
- 
AnInputStreamfor reading an items contents.
- MultipartInput.MalformedStreamException - Exception Class in org.apache.commons.fileupload2.core
- 
Signals that the input stream fails to follow the required syntax.
- MultipartInput.ProgressNotifier - Class in org.apache.commons.fileupload2.core
- 
Internal class, which is used to invoke theProgressListener.
N
- newFileItemHeaders() - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Creates a new instance ofFileItemHeaders.
- newFileItemHeaders() - Static method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Create a new FileItemHeaders implementation.
- newInputStream() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Creates a newMultipartInput.ItemInputStream.
- next() - Method in interface org.apache.commons.fileupload2.core.FileItemInputIterator
- 
Returns the next availableFileItemInput.
- NOP - Static variable in interface org.apache.commons.fileupload2.core.ProgressListener
- 
Nop implementation.
- noteItem() - Method in class org.apache.commons.fileupload2.core.MultipartInput.ProgressNotifier
- 
Called to indicate, that a new file item has been detected.
O
- org.apache.commons.fileupload2.core - package org.apache.commons.fileupload2.core
- 
A component for handling HTML file uploads as specified by RFC 1867.
P
- ParameterParser - Class in org.apache.commons.fileupload2.core
- 
A simple parser intended to parse sequences of name/value pairs.
- ParameterParser() - Constructor for class org.apache.commons.fileupload2.core.ParameterParser
- 
Default ParameterParser constructor.
- parse(char[], char) - Method in class org.apache.commons.fileupload2.core.ParameterParser
- 
Parses a map of name/value pairs from the given array of characters.
- parse(char[], int, int, char) - Method in class org.apache.commons.fileupload2.core.ParameterParser
- 
Parses a map of name/value pairs from the given array of characters.
- parse(String, char) - Method in class org.apache.commons.fileupload2.core.ParameterParser
- 
Parses a map of name/value pairs from the given string.
- parse(String, char[]) - Method in class org.apache.commons.fileupload2.core.ParameterParser
- 
Parses a map of name/value pairs from the given string.
- parseParameterMap(RequestContext) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Parses an RFC 1867 compliantmultipart/form-datastream.
- parseParameterMap(R) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Parses an RFC 1867 compliantmultipart/form-datastream.
- parseRequest(RequestContext) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Parses an RFC 1867 compliantmultipart/form-datastream.
- parseRequest(R) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Parses an RFC 1867 compliantmultipart/form-datastream.
- ProgressListener - Interface in org.apache.commons.fileupload2.core
- 
Receives progress information.
- ProgressNotifier(ProgressListener, long) - Constructor for class org.apache.commons.fileupload2.core.MultipartInput.ProgressNotifier
- 
Creates a new instance with the given listener and content length.
R
- read() - Method in class org.apache.commons.fileupload2.core.MultipartInput.ItemInputStream
- 
Reads the next byte in the stream.
- read(byte[], int, int) - Method in class org.apache.commons.fileupload2.core.MultipartInput.ItemInputStream
- 
Reads bytes into the given buffer.
- readBodyData(OutputStream) - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Readsbody-datafrom the currentencapsulationand writes its contents into the outputStream.
- readBoundary() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Skips aboundarytoken, and checks whether moreencapsulationsare contained in the stream.
- readByte() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Reads a byte from thebuffer, and refills it as necessary.
- readHeaders() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Reads theheader-partof the currentencapsulation.
- RequestContext - Interface in org.apache.commons.fileupload2.core
- 
Abstracts access to the request information needed for file uploads.
S
- setBoundary(byte[]) - Method in class org.apache.commons.fileupload2.core.MultipartInput.Builder
- 
Sets the boundary.
- setBoundary(byte[]) - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Changes the boundary token used for partitioning the stream.
- setCharsetDefault(Charset) - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Sets the default charset for use when no explicit charset parameter is provided by the sender.
- setContentType(String) - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Sets the content type.
- setFieldName(String) - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Sets the field name used to reference this file item.
- setFieldName(String) - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Sets the field name used to reference this file item.
- setFieldName(String) - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Sets the field name.
- setFileCleaningTracker(FileCleaningTracker) - Method in class org.apache.commons.fileupload2.core.DiskFileItemFactory.Builder
- 
Sets the tracker, which is responsible for deleting temporary files.
- setFileCleaningTracker(FileCleaningTracker) - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Sets the file cleaning tracker.
- setFileCountMax(long) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Sets the maximum number of files allowed per request.
- setFileItemFactory(F) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Sets the factory class to use when creating file items.
- setFileItemHeaders(FileItemHeaders) - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Sets the file item headers.
- setFileName(String) - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Sets the file name.
- setFileSizeMax(long) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Sets the maximum allowed size of a single uploaded file, as opposed toAbstractFileUpload.getSizeMax().
- setFileSizeMax(long) - Method in interface org.apache.commons.fileupload2.core.FileItemInputIterator
- 
Sets the maximum size of a single file.
- setFormField(boolean) - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Specifies whether or not aFileIteminstance represents a simple form field.
- setFormField(boolean) - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Sets whether or not aFileIteminstance represents a simple form field.
- setFormField(boolean) - Method in class org.apache.commons.fileupload2.core.FileItemFactory.AbstractFileItemBuilder
- 
Sets whether this is a form field.
- setHeaderCharset(Charset) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Specifies the character encoding to be used when reading the headers of individual part.
- setHeaderCharset(Charset) - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Sets the character encoding to be used when reading the headers of individual parts.
- setHeaders(FileItemHeaders) - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Sets the file item headers.
- setHeaders(FileItemHeaders) - Method in interface org.apache.commons.fileupload2.core.FileItemHeadersProvider
- 
Sets the headers read from within an item.
- setLowerCaseNames(boolean) - Method in class org.apache.commons.fileupload2.core.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.fileupload2.core.MultipartInput.Builder
- 
Sets the per part size limit for headers.
- setProgressListener(ProgressListener) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Sets the progress listener.
- setProgressNotifier(MultipartInput.ProgressNotifier) - Method in class org.apache.commons.fileupload2.core.MultipartInput.Builder
- 
Sets the progress notifier.
- setSizeMax(long) - Method in class org.apache.commons.fileupload2.core.AbstractFileUpload
- 
Sets the maximum allowed size of a complete request, as opposed toAbstractFileUpload.setFileSizeMax(long).
- setSizeMax(long) - Method in interface org.apache.commons.fileupload2.core.FileItemInputIterator
- 
Sets the maximum size of the complete HTTP request.
- skip(long) - Method in class org.apache.commons.fileupload2.core.MultipartInput.ItemInputStream
- 
Skips the given number of bytes.
- skipPreamble() - Method in class org.apache.commons.fileupload2.core.MultipartInput
- 
Finds the beginning of the firstencapsulation.
T
- toString() - Method in class org.apache.commons.fileupload2.core.AbstractRequestContext
- 
Returns a string representation of this object.
- toString() - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Returns a string representation of this object.
U
- update(long, long, int) - Method in interface org.apache.commons.fileupload2.core.ProgressListener
- 
Updates the listeners status information.
W
- write(Path) - Method in class org.apache.commons.fileupload2.core.DiskFileItem
- 
Writes an uploaded item to disk.
- write(Path) - Method in interface org.apache.commons.fileupload2.core.FileItem
- 
Writes an uploaded item to disk.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form