hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <ortwin.glu...@nose.ch>
Subject Re: OutOfMemory if using PUT
Date Wed, 17 Mar 2004 13:23:42 GMT


martin hilpert wrote:

> Hi Ortwin,
> 
>>Not from within HttpClient directly. You can however simply wrap your 
>>stream and count the bytes read through the respective methods.
> 
>  how can i wrap it?
> any sampel code?

Errm... Ever heard of the java.io.FilterInputStream class? It is 
intended to be a base class for such a thing linke you need. If you are 
using Swing you can just use javax.swing.ProgressMonitorInputStream.

O.

---------------------------------------------------------------------
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