Issue Details (XML | Word | Printable)

Key: FILEUPLOAD-112
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jochen Wiedmann
Reporter: Jochen Wiedmann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons FileUpload

Support for iterative parsing

Created: 22/May/06 07:55 PM   Updated: 09/Mar/07 08:32 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works commons-fileupload-3.patch 2006-05-22 07:59 PM Jochen Wiedmann 5 kB
Issue Links:
Duplicate
 

Resolution Date: 04/Aug/06 09:24 PM


 Description  « Hide
Currently parsing is all or nothing. This is unfortunate in a streaming environment. For example, if you know that the big parameter is the latest, then you might setup the environment, depending on other parameters, which have already been read, before reading the last parameter.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jochen Wiedmann added a comment - 22/May/06 07:59 PM
The attached patch adds a method

Iterator FileUploadBase.getRequestIterator(RequestContext ctx)

which returns an iterator over the items. The old method is implemented internally by using the iterator.


Martin Cooper added a comment - 11/Jun/06 12:13 AM
The patch attached to this issue appears to be incomplete, since the RequestIterator class is not included.


Jochen Wiedmann added a comment - 04/Aug/06 09:24 PM
Fixed