commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25830] - [fileupload] Upload Progress Reporting
Date Fri, 05 May 2006 20:55:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25830>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25830





------- Additional Comments From jdane@hawaii.edu  2006-05-05 20:55 -------
mainly this is just another request for some progress (ha!) on this issue. 
currently in order to have something like this I need to wrap the servlet
request,  which is a major hassle.

I've looked at the proposed patch attached to this issue, and I also have some
problems with it.  I would rather take a "pure listener" approach, and leave out
the default implementation altogether.  that is, add an interface like

 interface UploadProgressListener {
    void start(long totalRequestSize);
    void startFile(String filename);
    void parameter(String name, String value);
    void afterRead(byte[] buf, int start, int len);
    void endFile();
 }

then overload parseRequest to optionally take one of these.  there's no need to
implement the interface anywhere in the fileupload code, as far as I can tell.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message