Streaming

View: New views
1 Messages — Rating Filter:   Alert me  

Streaming

by Pedro Ribeiro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 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?

Thanks,
Pedro Ribeiro

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