Package org.apache.struts.upload

The upload package facilities to upload files using multi-part requests.

Interface Summary

FormFile This interface represents a file that has been uploaded by a client.
MultipartRequestHandler MultipartRequestHandler provides an standard interface for struts to deal with file uploads from forms with enctypes of "multipart/form-data".

Class Summary

BufferedMultipartInputStream This class implements buffering for an InputStream as well as a readLine method.
CommonsMultipartRequestHandler This class implements the MultipartRequestHandler interface by providing a wrapper around the Jakarta Commons FileUpload library.
CommonsMultipartRequestHandler.CommonsFormFile This class implements the Struts FormFile interface by wrapping the Commons FileUpload FileItem interface.
ContentLengthExceededException This exception is thrown when multipart post data exceeds the value given by the Content-Length header
DiskFile
DiskMultipartRequestHandler This is a MultipartRequestHandler that writes file data directly to to temporary files on disk.
MaxLengthExceededException This exception is thrown when multipart post data exceeds the maximum value set
MultipartBoundaryInputStream This class encapsulates parsing functionality for RFC1867, multipart/form-data.
MultipartElement This class represents an element in a multipart request.
MultipartIterator The MultipartIterator class is responsible for reading the input data of a multipart request and splitting it up into input elements, wrapped inside of a MultipartElement for easy definition.
MultipartRequestWrapper This class functions as a wrapper around HttpServletRequest to provide working getParameter methods for multipart requests.
MultipartValueStream This class implements an inputStream that reads another stream until a multipart boundary is found.
The upload package facilities to upload files using multi-part requests.

Upload Package UML

Package Specification

Related Documentation


Copyright B) 2000-2007 - The Apache Software Foundation