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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to