Example usage for Java org.apache.commons.fileupload DiskFileUpload fields, constructors, methods, implement or subclass
The text is from its open source code.
DiskFileUpload() Constructs an instance of this class which uses the default factory to create FileItem instances. | |
DiskFileUpload(DefaultFileItemFactory fileItemFactory) Constructs an instance of this class which uses the supplied factory to create FileItem instances. |
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. |
List | parseRequest(HttpServletRequest req, int sizeThreshold, long sizeMax, String path) Processes an RFC 1867 compliant multipart/form-data stream. |
void | setHeaderEncoding(String encoding) Specifies the character encoding to be used when reading the headers of individual parts. |
void | setRepositoryPath(String repositoryPath) Sets the location used to temporarily store files that are larger than the configured size threshold. |
void | setSizeMax(long sizeMax) Sets the maximum allowed upload size. |
void | setSizeThreshold(int sizeThreshold) Sets the size threshold beyond which files are written directly to disk. |