commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pedro Ribeiro" <>
Subject Streaming
Date Wed, 11 Jun 2008 23:02:18 GMT

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 with the allocated memory, which is
very good.
What 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?

Pedro Ribeiro

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message