hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: File Upload Progress Meter
Date Tue, 10 Jun 2003 12:21:30 GMT
Yes, this is how I have used it in the past.  I wrapped the InputStream 
to be returned from PartSource.createInputStream() in a class that 
counted the number of bytes read and periodically fired an event.

Mike

On Tuesday, June 10, 2003, at 04:13 AM, Ortwin Gl├╝ck wrote:

> I think it's easier to create a custom FilePartSource implementation 
> which creates the events or can be polled by your application.
>
> Odi
>
> Kalnichevski, Oleg wrote:
>
>> Jay, The only solution that I can think of is to get hold of
>> HttpClient source code and extend it with a feedback mechanism of
>> your liking. We, HttpClient developers, may consider adding events in
>> 2.1 or 3.0 release as a standard feature. For the time being, a
>> HttpClient fork appears your only option.
>> Cheers
>> Oleg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>


Mime
View raw message