Java org.apache.commons.fileupload DiskFileUpload fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.fileupload DiskFileUpload fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.fileupload DiskFileUpload.

The text is from its open source code.

Subclass

org.apache.commons.fileupload.DiskFileUpload has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

longgetSizeMax()
Returns the maximum allowed upload size.
booleanisMultipartContent(HttpServletRequest req)
Utility method that determines whether the request contains multipart content.
ListparseRequest(HttpServletRequest req)
Processes an RFC 1867 compliant multipart/form-data stream.
ListparseRequest(HttpServletRequest req, int sizeThreshold, long sizeMax, String path)
Processes an RFC 1867 compliant multipart/form-data stream.
voidsetHeaderEncoding(String encoding)
Specifies the character encoding to be used when reading the headers of individual parts.
voidsetRepositoryPath(String repositoryPath)
Sets the location used to temporarily store files that are larger than the configured size threshold.
voidsetSizeMax(long sizeMax)
Sets the maximum allowed upload size.
voidsetSizeThreshold(int sizeThreshold)
Sets the size threshold beyond which files are written directly to disk.