Hi,

i want to throttle the download-traffic/bandwidth with httpclient. Googling
around doesn't takes me further.
1 of the found options is using Thread.sleep(time) while reading from
inputstream.
looking into the source-code, i think i'll have to extends
SocketHttpClientConnection, go to SocketInputBuffer where i can use the
built-in TransportMetrics to set/reset the transferered traffic & put the
Thread.sleep there.
but it couldnt figure out how to do this quick from defaulthttpclient & how
to "wire" things together.
is this this approach correct ? if yes , it would be great if someone could
give me some clues about this.

& what about sslsocket ? do i have also have to touch schemefactory ?

is there any other options /suggestions

thanx alot

Reply via email to