The default {@link org.apache.commons.fileupload.FileItemFactory}implementation. This implementation creates {@link org.apache.commons.fileupload.FileItem} instances which keep theircontent either in memory, for smaller items, or in a temporary file on disk, for larger items. The size threshold, above which content will be stored on disk, is configurable, as is the directory in which temporary files will be created.
If not otherwise configured, the default configuration values are as follows:
- Size threshold is 10KB.
- Repository is the system default temp directory, as returned by
System.getProperty("java.io.tmpdir")
.
@version $Id: DefaultFileItemFactory.java 1454690 2013-03-09 12:08:48Z simonetripodi $
@deprecated 1.1 Use
DiskFileItemFactory
instead.