You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2006/05/05 22:55:37 UTC
DO NOT REPLY [Bug 25830] - [fileupload] Upload Progress Reporting
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