Example usage for Java org.apache.commons.fileupload.servlet ServletFileUpload fields, constructors, methods, implement or subclass
The text is from its open source code.
ServletFileUpload(FileItemFactory fileItemFactory) Constructs an instance of this class which uses the supplied factory to create FileItem instances. | |
ServletFileUpload() Constructs an uninitialised instance of this class. |
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. |
FileItemIterator | getItemIterator(HttpServletRequest request) Processes an RFC 1867 compliant multipart/form-data stream. |
long | getSizeMax() Returns the maximum allowed upload size. |
boolean | isMultipartContent(HttpServletRequest request) Utility method that determines whether the request contains multipart content. |
List | parseRequest(HttpServletRequest request) 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. |