After a little research this is what I figure needs to be done:
Extend the upload API, add method getItemIterator(request), that's the name
of the method in Commons FileUpload.
Use the created method in DefaultParameterParser and add get-methods that
return FileItemStream
http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/FileItemStream.html
So Upload needs a new release before parser and intake can use the new
functionality.
/Ludwig
-----Ursprungligt meddelande-----
From: Thomas Vandahl
Sent: Sunday, October 09, 2011 4:40 PM
To: Turbine Developers List
Subject: Re: [Fulcrum-parser] Update proposal
On 09.10.11 15:15, Ludwig Magnusson wrote:
Hello team!
My company recently discovered that we need to be able to upload stream
data in our web application. Commons-fileupload has support for this but
fulcrum-upload does not.
I thought this would be a valuable addition to fulcrum upload and I think
that I will be able to implement it this week.
The implementations inside parser and intake are a bit
FileItem-specific, so this might need some API extensions in these
components, too (if that is possible at all). Other than that: good
suggestion, go ahead!
Bye, Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@turbine.apache.org
For additional commands, e-mail: dev-h...@turbine.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@turbine.apache.org
For additional commands, e-mail: dev-h...@turbine.apache.org