Example usage for Java org.apache.commons.fileupload FileUpload fields, constructors, methods, implement or subclass
The text is from its open source code.
FileUpload(FileItemFactory fileItemFactory) Constructs an instance of this class which uses the supplied factory to create FileItem instances. | |
FileUpload() Constructs an instance of this class which uses the default factory to create FileItem instances. |
FileItemFactory | getFileItemFactory() Returns the factory class used when creating file items. |
String | getHeaderEncoding() Retrieves the character encoding used when reading the headers of an individual part. |
long | getSizeMax() Returns the maximum allowed upload size. |
boolean | isMultipartContent(HttpServletRequest req) Utility method that determines whether the request contains multipart content. |
List | parseRequest(HttpServletRequest req) Processes an RFC 1867 compliant multipart/form-data stream. |
void | setFileItemFactory(FileItemFactory factory) Sets the factory class to use when creating file items. |
void | setHeaderEncoding(String encoding) Specifies the character encoding to be used when reading the headers of individual parts. |
void | setSizeMax(long sizeMax) Sets the maximum allowed upload size. |