commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pedro Ribeiro" <ribei...@gmail.com>
Subject Streaming
Date Wed, 11 Jun 2008 23:25:11 GMT
Hello.

I was reading the documentation of FileUpload, and i have some doubts.
With the DiskFileItemFactory we can specify the bytes that will be
retained in memory and the temporary directory used when a item size
exceed the threshold.

With this we can have more control of the allocated memory, which is
very good.
Which are the advantages of using streaming, if we can use the
DiskFileItemFactory to have more control of the usage memory when
uploading a file to disk?

Thanks,
Pedro Ribeiro

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message