Index

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

A

addHeader(String, String) - Method in class com.vaadin.external.apache.commons.fileupload2.util.FileItemHeadersImpl
Method to add header values to this instance.
arrayequals(byte[], byte[], int) - Static method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Compares count first bytes in the arrays a and b.
asString(InputStream) - Static method in class com.vaadin.external.apache.commons.fileupload2.util.Streams
This convenience method allows to read a FileItemStream's content into a string.
asString(InputStream, String) - Static method in class com.vaadin.external.apache.commons.fileupload2.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 com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Content-disposition value for file attachment.
available() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ItemInputStream
Returns the number of bytes, which are currently available, without blocking.

B

BOUNDARY_PREFIX - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
A byte sequence that precedes a boundary (CRLF--).

C

checkFileName(String) - Static method in class com.vaadin.external.apache.commons.fileupload2.util.Streams
Checks, whether the given file name is valid in the sense, that it doesn't contain any NUL characters.
close() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Closes the file item.
close() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ItemInputStream
Closes the input stream.
close() - Method in interface com.vaadin.external.apache.commons.fileupload2.util.Closeable
Closes the object.
close() - Method in class com.vaadin.external.apache.commons.fileupload2.util.LimitedInputStream
Closes this input stream and releases any system resources associated with the stream.
close(boolean) - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ItemInputStream
Closes the input stream.
Closeable - Interface in com.vaadin.external.apache.commons.fileupload2.util
Interface of an object, which may be closed.
com.vaadin.external.apache.commons.fileupload2 - package com.vaadin.external.apache.commons.fileupload2
A component for handling HTML file uploads as specified by RFC 1867.
com.vaadin.external.apache.commons.fileupload2.disk - package com.vaadin.external.apache.commons.fileupload2.disk
A disk-based implementation of the FileItem interface.
com.vaadin.external.apache.commons.fileupload2.impl - package com.vaadin.external.apache.commons.fileupload2.impl
Implementations and exceptions utils.
com.vaadin.external.apache.commons.fileupload2.jaksrvlt - package com.vaadin.external.apache.commons.fileupload2.jaksrvlt
An implementation of FileUpload for use in servlets conforming to the namespace jakarta.servlet.
com.vaadin.external.apache.commons.fileupload2.pub - package com.vaadin.external.apache.commons.fileupload2.pub
Exceptions, and other classes, that are known to be used outside of FileUpload.
com.vaadin.external.apache.commons.fileupload2.util - package com.vaadin.external.apache.commons.fileupload2.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.
com.vaadin.external.apache.commons.fileupload2.util.mime - package com.vaadin.external.apache.commons.fileupload2.util.mime
MIME decoder implementation, imported and retailed from Apache Geronimo.
CONTENT_DISPOSITION - Static variable in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
HTTP content disposition header name.
CONTENT_LENGTH - Static variable in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
HTTP content length header name.
CONTENT_TYPE - Static variable in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
HTTP content type header name.
contentLength() - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltRequestContext
Retrieve the content length of the request.
contentLength() - Method in interface com.vaadin.external.apache.commons.fileupload2.UploadContext
Retrieve the content length of the request.
contextDestroyed(ServletContextEvent) - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileCleaner
Called when the web application is being destroyed.
contextInitialized(ServletContextEvent) - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileCleaner
Called when the web application is initialized.
copy(InputStream, OutputStream, boolean) - Static method in class com.vaadin.external.apache.commons.fileupload2.util.Streams
Copies the contents of the given InputStream to the given OutputStream.
copy(InputStream, OutputStream, boolean, byte[]) - Static method in class com.vaadin.external.apache.commons.fileupload2.util.Streams
Copies the contents of the given InputStream to the given OutputStream.
CR - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
The Carriage Return ASCII character value.
createItem(String, String, boolean, String) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Create a new DiskFileItem instance from the supplied parameters and the local factory configuration.
createItem(String, String, boolean, String) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemFactory
Create a new FileItem instance from the supplied parameters and any local factory configuration.
createItem(Map<String, String>, boolean) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Deprecated.
1.2 This method is no longer used in favour of internally created instances of FileItem.

D

DASH - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
The dash (-) ASCII character value.
decodeText(String) - Static method in class com.vaadin.external.apache.commons.fileupload2.util.mime.MimeUtility
Decode a string of text obtained from a mail header into its proper form.
decodeText(String) - Static method in class com.vaadin.external.apache.commons.fileupload2.util.mime.RFC2231Utility
Decode a string of text obtained from a HTTP header as per RFC 2231 Eg 1. us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A will be decoded to This is ***fun*** Eg 2. iso-8859-1'en'%A3%20rate will be decoded to £ rate.
DEFAULT_BUFFER_SIZE - Static variable in class com.vaadin.external.apache.commons.fileupload2.util.Streams
Default buffer size for use in Streams.copy(InputStream, OutputStream, boolean).
DEFAULT_BUFSIZE - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
The default length of the buffer used for processing a request.
DEFAULT_CHARSET - Static variable in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Default content charset to be used when no explicit charset parameter is provided by the sender.
DEFAULT_SIZE_THRESHOLD - Static variable in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
The default threshold above which uploads will be stored on disk.
delete() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
delete() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
discardBodyData() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Reads body-data from the current encapsulation and discards it.
DiskFileItem - Class in com.vaadin.external.apache.commons.fileupload2.disk
The default implementation of the FileItem interface.
DiskFileItem(String, String, boolean, String, int, File) - Constructor for class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Constructs a new DiskFileItem instance.
DiskFileItemFactory - Class in com.vaadin.external.apache.commons.fileupload2.disk
The default FileItemFactory implementation.
DiskFileItemFactory() - Constructor for class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Constructs an unconfigured instance of this class.
DiskFileItemFactory(int, File) - Constructor for class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Constructs a preconfigured instance of this class.

F

FIELD_SEPARATOR - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
A byte sequence that that follows a delimiter that will be followed by an encapsulation (CRLF).
FILE_CLEANING_TRACKER_ATTRIBUTE - Static variable in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileCleaner
Attribute name, which is used for storing an instance of FileCleaningTracker in the web application.
FileCountLimitExceededException - Exception in com.vaadin.external.apache.commons.fileupload2.pub
This exception is thrown if a request contains more files than the specified limit.
FileCountLimitExceededException(String, long) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.pub.FileCountLimitExceededException
Creates a new instance.
FileItem - Interface in com.vaadin.external.apache.commons.fileupload2
This class represents a file or form item that was received within a multipart/form-data POST request.
FileItemFactory - Interface in com.vaadin.external.apache.commons.fileupload2
A factory interface for creating FileItem instances.
FileItemHeaders - Interface in com.vaadin.external.apache.commons.fileupload2
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 com.vaadin.external.apache.commons.fileupload2.util
Default implementation of the FileItemHeaders interface.
FileItemHeadersImpl() - Constructor for class com.vaadin.external.apache.commons.fileupload2.util.FileItemHeadersImpl
 
FileItemHeadersSupport - Interface in com.vaadin.external.apache.commons.fileupload2
Interface that will indicate that FileItem or FileItemStream implementations will accept the headers read for the item.
FileItemIterator - Interface in com.vaadin.external.apache.commons.fileupload2
FileItemIteratorImpl - Class in com.vaadin.external.apache.commons.fileupload2.impl
The iterator, which is returned by FileUploadBase.getItemIterator(RequestContext).
FileItemIteratorImpl(FileUploadBase, RequestContext) - Constructor for class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
Creates a new instance.
FileItemStream - Interface in com.vaadin.external.apache.commons.fileupload2
This interface provides access to a file or form item that was received within a multipart/form-data POST request.
FileItemStream.ItemSkippedException - Exception in com.vaadin.external.apache.commons.fileupload2
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 - Class in com.vaadin.external.apache.commons.fileupload2.impl
Default implementation of FileItemStream.
FileItemStreamImpl(FileItemIteratorImpl, String, String, String, boolean, long) - Constructor for class com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Creates a new instance.
FileSizeLimitExceededException - Exception in com.vaadin.external.apache.commons.fileupload2.pub
Thrown to indicate that A files size exceeds the configured maximum.
FileSizeLimitExceededException(String, long, long) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.pub.FileSizeLimitExceededException
Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
FileUpload - Class in com.vaadin.external.apache.commons.fileupload2
High level API for processing file uploads.
FileUpload() - Constructor for class com.vaadin.external.apache.commons.fileupload2.FileUpload
Constructs an uninitialized instance of this class.
FileUpload(FileItemFactory) - Constructor for class com.vaadin.external.apache.commons.fileupload2.FileUpload
Constructs an instance of this class which uses the supplied factory to create FileItem instances.
FileUploadBase - Class in com.vaadin.external.apache.commons.fileupload2
High level API for processing file uploads.
FileUploadBase() - Constructor for class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
 
FileUploadException - Exception in com.vaadin.external.apache.commons.fileupload2
Exception for errors encountered while processing the request.
FileUploadException() - Constructor for exception com.vaadin.external.apache.commons.fileupload2.FileUploadException
Constructs a new FileUploadException without message.
FileUploadException(String) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.FileUploadException
Constructs a new FileUploadException with specified detail message.
FileUploadException(String, Throwable) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.FileUploadException
Creates a new FileUploadException with the given detail message and cause.
FileUploadIOException - Exception in com.vaadin.external.apache.commons.fileupload2.pub
This exception is thrown for hiding an inner FileUploadException in an IOException.
FileUploadIOException(FileUploadException) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.pub.FileUploadIOException
Creates a FileUploadIOException with the given cause.
findByte(byte, int) - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Searches for a byte of specified value in the buffer, starting at the specified position.
findSeparator() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Searches for the boundary in the buffer region delimited by head and tail.
FORM_DATA - Static variable in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Content-disposition value for form data.

G

get() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the contents of the file as an array of bytes.
get() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Returns the contents of the file item as an array of bytes.
getActualSize() - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.FileSizeLimitExceededException
Retrieves the actual size of the request.
getBoundary(String) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Retrieves the boundary from the Content-type header.
getBytesRead() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ItemInputStream
Returns the number of bytes, which have been read by the stream.
getCause() - Method in exception com.vaadin.external.apache.commons.fileupload2.FileUploadException
getCause() - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.FileUploadIOException
Returns the exceptions cause.
getCause() - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.IOFileUploadException
Returns the exceptions cause.
getCharacterEncoding() - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltRequestContext
Retrieve the character encoding for the request.
getCharacterEncoding() - Method in interface com.vaadin.external.apache.commons.fileupload2.RequestContext
Retrieve the character encoding for the request.
getCharSet() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the content charset passed by the agent or null if not defined.
getContentLength() - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltRequestContext
Deprecated.
getContentLength() - Method in interface com.vaadin.external.apache.commons.fileupload2.RequestContext
Deprecated.
getContentType() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the content type passed by the agent or null if not defined.
getContentType() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Returns the content type passed by the browser or null if not defined.
getContentType() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemStream
Returns the content type passed by the browser or null if not defined.
getContentType() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Returns the items content type, or null.
getContentType() - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltRequestContext
Retrieve the content type of the request.
getContentType() - Method in interface com.vaadin.external.apache.commons.fileupload2.RequestContext
Retrieve the content type of the request.
getDefaultCharset() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the default charset for use when no explicit charset parameter is provided by the sender.
getDefaultCharset() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Returns the default charset for use when no explicit charset parameter is provided by the sender.
getFieldName() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the name of the field in the multipart form corresponding to this file item.
getFieldName() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Returns the name of the field in the multipart form corresponding to this file item.
getFieldName() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemStream
Returns the name of the field in the multipart form corresponding to this file item.
getFieldName() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Returns the items field name.
getFieldName() - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.FileSizeLimitExceededException
Returns the field name of the item, which caused the exception.
getFieldName(FileItemHeaders) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Retrieves the field name from the Content-disposition header.
getFieldName(Map<String, String>) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
getFileCleaningTracker() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Returns the tracker, which is responsible for deleting temporary files.
getFileCleaningTracker(ServletContext) - Static method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileCleaner
Returns the instance of FileCleaningTracker, which is associated with the given ServletContext.
getFileCountMax() - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Returns the maximum number of files allowed in a single request.
getFileItemFactory() - Method in class com.vaadin.external.apache.commons.fileupload2.FileUpload
Returns the factory class used when creating file items.
getFileItemFactory() - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Returns the factory class used when creating file items.
getFileItems() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemIterator
 
getFileItems() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
 
getFileName() - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.FileSizeLimitExceededException
Returns the file name of the item, which caused the exception.
getFileName(FileItemHeaders) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Retrieves the file name from the Content-disposition header.
getFileName(Map<String, String>) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
getFileSizeMax() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemIterator
Returns the maximum size of a single file.
getFileSizeMax() - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Returns the maximum allowed size of a single uploaded file, as opposed to FileUploadBase.getSizeMax().
getFileSizeMax() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
 
getHeader(String) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemHeaders
Returns the value of the specified part header as a String.
getHeader(String) - Method in class com.vaadin.external.apache.commons.fileupload2.util.FileItemHeadersImpl
Returns the value of the specified part header as a String.
getHeader(Map<String, String>, String) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Deprecated.
getHeaderEncoding() - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Retrieves the character encoding used when reading the headers of an individual part.
getHeaderEncoding() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Retrieves the character encoding used when reading the headers of an individual part.
getHeaderNames() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemHeaders
Returns an Iterator of all the header names.
getHeaderNames() - Method in class com.vaadin.external.apache.commons.fileupload2.util.FileItemHeadersImpl
Returns an Iterator of all the header names.
getHeaders() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the file item headers.
getHeaders() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemHeadersSupport
Returns the collection of headers defined locally within this item.
getHeaders() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Returns the file item headers.
getHeaders(String) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemHeaders
Returns all the values of the specified item header as an Iterator of String objects.
getHeaders(String) - Method in class com.vaadin.external.apache.commons.fileupload2.util.FileItemHeadersImpl
Returns all the values of the specified item header as an Iterator of String objects.
getInputStream() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns an InputStream that can be used to retrieve the contents of the file.
getInputStream() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Returns an InputStream that can be used to retrieve the contents of the file.
getInputStream() - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltRequestContext
Retrieve the input stream for the request.
getInputStream() - Method in interface com.vaadin.external.apache.commons.fileupload2.RequestContext
Retrieve the input stream for the request.
getItemIterator(RequestContext) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Processes an RFC 1867 compliant multipart/form-data stream.
getItemIterator(HttpServletRequest) - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileUpload
Processes an RFC 1867 compliant multipart/form-data stream.
getLimit() - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.FileCountLimitExceededException
Retrieves the limit that was exceeded.
getMultiPartStream() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
 
getName() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the original file name in the client's file system.
getName() - Method in interface com.vaadin.external.apache.commons.fileupload2.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 com.vaadin.external.apache.commons.fileupload2.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 com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Returns the items file name.
getName() - Method in exception com.vaadin.external.apache.commons.fileupload2.InvalidFileNameException
Returns the invalid file name.
getOutputStream() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns an OutputStream that can be used for storing the contents of the file.
getOutputStream() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Returns an OutputStream that can be used for storing the contents of the file.
getParsedHeaders(String) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Parses the header-part and returns as key/value pairs.
getPermittedSize() - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.FileSizeLimitExceededException
Retrieves the permitted size of the request.
getProgressListener() - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Returns the progress listener.
getRepository() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Returns the directory used to temporarily store files that are larger than the configured size threshold.
getSize() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the size of the file.
getSize() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Returns the size of the file item.
getSizeMax() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemIterator
Returns the maximum size of the complete HTTP request.
getSizeMax() - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Returns the maximum allowed size of a complete request, as opposed to FileUploadBase.getFileSizeMax().
getSizeMax() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
 
getSizeThreshold() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Returns the size threshold beyond which files are written directly to disk.
getStoreLocation() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the File object for the FileItem's data's temporary location on the disk.
getString() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the contents of the file as a String, using the default character encoding.
getString() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Returns the contents of the file item as a String, using the default character encoding.
getString(String) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns the contents of the file as a String, using the specified encoding.
getString(String) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Returns the contents of the file item as a String, using the specified encoding.
getTempFile() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Creates and returns a File representing a uniquely named temporary file in the configured repository path.

H

hasEncodedValue(String) - Static method in class com.vaadin.external.apache.commons.fileupload2.util.mime.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 com.vaadin.external.apache.commons.fileupload2.FileItemIterator
Returns, whether another instance of FileItemStream is available.
hasNext() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
Returns, whether another instance of FileItemStream is available.
HEADER_PART_SIZE_MAX - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
The maximum length of header-part that will be processed (10 kilobytes = 10240 bytes.).
HEADER_SEPARATOR - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
A byte sequence that marks the end of header-part (CRLFCRLF).

I

IllegalBoundaryException() - Constructor for exception com.vaadin.external.apache.commons.fileupload2.MultipartStream.IllegalBoundaryException
Constructs an IllegalBoundaryException with no detail message.
IllegalBoundaryException(String) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.MultipartStream.IllegalBoundaryException
Constructs an IllegalBoundaryException with the specified detail message.
init(FileUploadBase, RequestContext) - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
 
InvalidContentTypeException - Exception in com.vaadin.external.apache.commons.fileupload2.pub
Thrown to indicate that the request is not a multipart request.
InvalidContentTypeException() - Constructor for exception com.vaadin.external.apache.commons.fileupload2.pub.InvalidContentTypeException
Constructs a InvalidContentTypeException with no detail message.
InvalidContentTypeException(String) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.pub.InvalidContentTypeException
Constructs an InvalidContentTypeException with the specified detail message.
InvalidContentTypeException(String, Throwable) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.pub.InvalidContentTypeException
Constructs an InvalidContentTypeException with the specified detail message and cause.
InvalidFileNameException - Exception in com.vaadin.external.apache.commons.fileupload2
This exception is thrown in case of an invalid file name.
InvalidFileNameException(String, String) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.InvalidFileNameException
Creates a new instance.
IOFileUploadException - Exception in com.vaadin.external.apache.commons.fileupload2.pub
Thrown to indicate an IOException.
IOFileUploadException(String, IOException) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.pub.IOFileUploadException
Creates a new instance with the given cause.
isClosed() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ItemInputStream
Returns, whether the stream is closed.
isClosed() - Method in interface com.vaadin.external.apache.commons.fileupload2.util.Closeable
Returns, whether the object is already closed.
isClosed() - Method in class com.vaadin.external.apache.commons.fileupload2.util.LimitedInputStream
Returns, whether this stream is already closed.
isFormField() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Determines whether or not a FileItem instance represents a simple form field.
isFormField() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Determines whether or not a FileItem instance represents a simple form field.
isFormField() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemStream
Determines whether or not a FileItem instance represents a simple form field.
isFormField() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Returns, whether this is a form field.
isInMemory() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Provides a hint as to whether or not the file contents will be read from memory.
isInMemory() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Provides a hint as to whether or not the file contents will be read from memory.
isLowerCaseNames() - Method in class com.vaadin.external.apache.commons.fileupload2.ParameterParser
Returns true if parameter names are to be converted to lower case when name/value pairs are parsed.
isMultipartContent(RequestContext) - Static method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Utility method that determines whether the request contains multipart content.
isMultipartContent(HttpServletRequest) - Static method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileUpload
Utility method that determines whether the request contains multipart content.
ItemSkippedException() - Constructor for exception com.vaadin.external.apache.commons.fileupload2.FileItemStream.ItemSkippedException
 

J

JakSrvltFileCleaner - Class in com.vaadin.external.apache.commons.fileupload2.jaksrvlt
A servlet context listener, which ensures that the FileCleaningTracker's reaper thread is terminated, when the web application is destroyed.
JakSrvltFileCleaner() - Constructor for class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileCleaner
 
JakSrvltFileUpload - Class in com.vaadin.external.apache.commons.fileupload2.jaksrvlt
High level API for processing file uploads.
JakSrvltFileUpload() - Constructor for class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileUpload
Constructs an uninitialized instance of this class.
JakSrvltFileUpload(FileItemFactory) - Constructor for class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileUpload
Constructs an instance of this class which uses the supplied factory to create FileItem instances.
JakSrvltRequestContext - Class in com.vaadin.external.apache.commons.fileupload2.jaksrvlt
Provides access to the request information needed for a request made to an HTTP servlet.
JakSrvltRequestContext(HttpServletRequest) - Constructor for class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltRequestContext
Construct a context for this request.

L

LF - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
The Line Feed ASCII character value.
LimitedInputStream - Class in com.vaadin.external.apache.commons.fileupload2.util
An input stream, which limits its data size.
LimitedInputStream(InputStream, long) - Constructor for class com.vaadin.external.apache.commons.fileupload2.util.LimitedInputStream
Creates a new instance.

M

MalformedStreamException() - Constructor for exception com.vaadin.external.apache.commons.fileupload2.MultipartStream.MalformedStreamException
Constructs a MalformedStreamException with no detail message.
MalformedStreamException(String) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.MultipartStream.MalformedStreamException
Constructs an MalformedStreamException with the specified detail message.
MAX_HEADER_SIZE - Static variable in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Deprecated.
This constant is no longer used. As of commons-fileupload 1.2, the only applicable limit is the total size of a parts headers, MultipartStream.HEADER_PART_SIZE_MAX.
MimeUtility - Class in com.vaadin.external.apache.commons.fileupload2.util.mime
Utility class to decode MIME texts.
MULTIPART - Static variable in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Part of HTTP content type header.
MULTIPART_FORM_DATA - Static variable in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
HTTP content type header for multipart forms.
MULTIPART_MIXED - Static variable in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
HTTP content type header for multiple uploads.
MultipartStream - Class in com.vaadin.external.apache.commons.fileupload2
Low level API for processing file uploads.
MultipartStream() - Constructor for class com.vaadin.external.apache.commons.fileupload2.MultipartStream
MultipartStream(InputStream, byte[]) - Constructor for class com.vaadin.external.apache.commons.fileupload2.MultipartStream
MultipartStream(InputStream, byte[], int) - Constructor for class com.vaadin.external.apache.commons.fileupload2.MultipartStream
MultipartStream(InputStream, byte[], int, MultipartStream.ProgressNotifier) - Constructor for class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Constructs a MultipartStream with a custom size buffer.
MultipartStream(InputStream, byte[], MultipartStream.ProgressNotifier) - Constructor for class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Constructs a MultipartStream with a default size buffer.
MultipartStream.IllegalBoundaryException - Exception in com.vaadin.external.apache.commons.fileupload2
Thrown upon attempt of setting an invalid boundary token.
MultipartStream.ItemInputStream - Class in com.vaadin.external.apache.commons.fileupload2
An InputStream for reading an items contents.
MultipartStream.MalformedStreamException - Exception in com.vaadin.external.apache.commons.fileupload2
Thrown to indicate that the input stream fails to follow the required syntax.
MultipartStream.ProgressNotifier - Class in com.vaadin.external.apache.commons.fileupload2
Internal class, which is used to invoke the ProgressListener.

N

newFileItemHeaders() - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Creates a new instance of FileItemHeaders.
newInputStream() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
next() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemIterator
Returns the next available FileItemStream.
next() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
Returns the next available FileItemStream.
noteItem() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ProgressNotifier
Called to indicate, that a new file item has been detected.

O

openStream() - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemStream
Creates an InputStream, which allows to read the items contents.
openStream() - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Returns an input stream, which may be used to read the items contents.

P

ParameterParser - Class in com.vaadin.external.apache.commons.fileupload2
A simple parser intended to parse sequences of name/value pairs.
ParameterParser() - Constructor for class com.vaadin.external.apache.commons.fileupload2.ParameterParser
Default ParameterParser constructor.
parse(char[], char) - Method in class com.vaadin.external.apache.commons.fileupload2.ParameterParser
Extracts a map of name/value pairs from the given array of characters.
parse(char[], int, int, char) - Method in class com.vaadin.external.apache.commons.fileupload2.ParameterParser
Extracts a map of name/value pairs from the given array of characters.
parse(String, char) - Method in class com.vaadin.external.apache.commons.fileupload2.ParameterParser
Extracts a map of name/value pairs from the given string.
parse(String, char[]) - Method in class com.vaadin.external.apache.commons.fileupload2.ParameterParser
Extracts a map of name/value pairs from the given string.
parseHeaders(String) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
parseParameterMap(RequestContext) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Processes an RFC 1867 compliant multipart/form-data stream.
parseParameterMap(HttpServletRequest) - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileUpload
Processes an RFC 1867 compliant multipart/form-data stream.
parseRequest(RequestContext) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Processes an RFC 1867 compliant multipart/form-data stream.
parseRequest(HttpServletRequest) - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileUpload
Processes an RFC 1867 compliant multipart/form-data stream.
printStackTrace(PrintStream) - Method in exception com.vaadin.external.apache.commons.fileupload2.FileUploadException
Prints this throwable and its backtrace to the specified print stream.
printStackTrace(PrintWriter) - Method in exception com.vaadin.external.apache.commons.fileupload2.FileUploadException
Prints this throwable and its backtrace to the specified print writer.
ProgressListener - Interface in com.vaadin.external.apache.commons.fileupload2
The ProgressListener may be used to display a progress bar or do stuff like that.
ProgressNotifier(ProgressListener, long) - Constructor for class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ProgressNotifier
Creates a new instance with the given listener and content length.

R

raiseError(long, long) - Method in class com.vaadin.external.apache.commons.fileupload2.util.LimitedInputStream
Called to indicate, that the input streams limit has been exceeded.
read() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ItemInputStream
Returns the next byte in the stream.
read() - Method in class com.vaadin.external.apache.commons.fileupload2.util.LimitedInputStream
Reads the next byte of data from this input stream.
read(byte[], int, int) - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ItemInputStream
Reads bytes into the given buffer.
read(byte[], int, int) - Method in class com.vaadin.external.apache.commons.fileupload2.util.LimitedInputStream
Reads up to len bytes of data from this input stream into an array of bytes.
readBodyData(OutputStream) - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Reads body-data from the current encapsulation and writes its contents into the output Stream.
readBoundary() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Skips a boundary token, and checks whether more encapsulations are contained in the stream.
readByte() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Reads a byte from the buffer, and refills it as necessary.
readHeaders() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Reads the header-part of the current encapsulation.
RequestContext - Interface in com.vaadin.external.apache.commons.fileupload2
Abstracts access to the request information needed for file uploads.
RFC2231Utility - Class in com.vaadin.external.apache.commons.fileupload2.util.mime
Utility class to decode/encode character set on HTTP Header fields based on RFC 2231.

S

setBoundary(byte[]) - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Changes the boundary token used for partitioning the stream.
setDefaultCharset(String) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Sets the default charset for use when no explicit charset parameter is provided by the sender.
setDefaultCharset(String) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Sets the default charset for use when no explicit charset parameter is provided by the sender.
setFieldName(String) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Sets the field name used to reference this file item.
setFieldName(String) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Sets the field name used to reference this file item.
setFieldName(String) - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.FileSizeLimitExceededException
Sets the field name of the item, which caused the exception.
setFileCleaningTracker(ServletContext, FileCleaningTracker) - Static method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltFileCleaner
Sets the instance of FileCleaningTracker, which is associated with the given ServletContext.
setFileCleaningTracker(FileCleaningTracker) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Sets the tracker, which is responsible for deleting temporary files.
setFileCountMax(long) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Sets the maximum number of files allowed per request.
setFileItemFactory(FileItemFactory) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUpload
Sets the factory class to use when creating file items.
setFileItemFactory(FileItemFactory) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Sets the factory class to use when creating file items.
setFileName(String) - Method in exception com.vaadin.external.apache.commons.fileupload2.pub.FileSizeLimitExceededException
Sets the file name of the item, which caused the exception.
setFileSizeMax(long) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemIterator
Sets the maximum size of a single file.
setFileSizeMax(long) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Sets the maximum allowed size of a single uploaded file, as opposed to FileUploadBase.getSizeMax().
setFileSizeMax(long) - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
 
setFormField(boolean) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Specifies whether or not a FileItem instance represents a simple form field.
setFormField(boolean) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItem
Specifies whether or not a FileItem instance represents a simple form field.
setHeaderEncoding(String) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Specifies the character encoding to be used when reading the headers of individual part.
setHeaderEncoding(String) - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Specifies the character encoding to be used when reading the headers of individual parts.
setHeaders(FileItemHeaders) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Sets the file item headers.
setHeaders(FileItemHeaders) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemHeadersSupport
Sets the headers read from within an item.
setHeaders(FileItemHeaders) - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemStreamImpl
Sets the file item headers.
setLowerCaseNames(boolean) - Method in class com.vaadin.external.apache.commons.fileupload2.ParameterParser
Sets the flag if parameter names are to be converted to lower case when name/value pairs are parsed.
setProgressListener(ProgressListener) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Sets the progress listener.
setRepository(File) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Sets the directory used to temporarily store files that are larger than the configured size threshold.
setSizeMax(long) - Method in interface com.vaadin.external.apache.commons.fileupload2.FileItemIterator
Returns the maximum size of the complete HTTP request.
setSizeMax(long) - Method in class com.vaadin.external.apache.commons.fileupload2.FileUploadBase
Sets the maximum allowed size of a complete request, as opposed to FileUploadBase.setFileSizeMax(long).
setSizeMax(long) - Method in class com.vaadin.external.apache.commons.fileupload2.impl.FileItemIteratorImpl
 
setSizeThreshold(int) - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItemFactory
Sets the size threshold beyond which files are written directly to disk.
SizeLimitExceededException - Exception in com.vaadin.external.apache.commons.fileupload2.pub
Thrown to indicate that the request size exceeds the configured maximum.
SizeLimitExceededException(String, long, long) - Constructor for exception com.vaadin.external.apache.commons.fileupload2.pub.SizeLimitExceededException
Constructs a SizeExceededException with the specified detail message, and actual and permitted sizes.
skip(long) - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream.ItemInputStream
Skips the given number of bytes.
skipPreamble() - Method in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
Finds the beginning of the first encapsulation.
STREAM_TERMINATOR - Static variable in class com.vaadin.external.apache.commons.fileupload2.MultipartStream
A byte sequence that that follows a delimiter of the last encapsulation in the stream (--).
Streams - Class in com.vaadin.external.apache.commons.fileupload2.util
Utility class for working with streams.
stripDelimiter(String) - Static method in class com.vaadin.external.apache.commons.fileupload2.util.mime.RFC2231Utility
If paramName has Asterisk (*) at the end, it will be stripped off, else the passed value will be returned.

T

toString() - Method in class com.vaadin.external.apache.commons.fileupload2.disk.DiskFileItem
Returns a string representation of this object.
toString() - Method in class com.vaadin.external.apache.commons.fileupload2.jaksrvlt.JakSrvltRequestContext
Returns a string representation of this object.

U

update(long, long, int) - Method in interface com.vaadin.external.apache.commons.fileupload2.ProgressListener
Updates the listeners status information.
UploadContext - Interface in com.vaadin.external.apache.commons.fileupload2
Enhanced access to the request information needed for file uploads, which fixes the Content Length data access in RequestContext.

W

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