commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gustavo Hexsel <ghex...@sagebrushcorp.com>
Subject [HttpClient] getting the http connection or setting the params
Date Thu, 07 Oct 2004 22:17:37 GMT
  I'm using HttpClient to read a variable number of pages in sequence.  I
have a "time frame" by which the page accesses (method execution and all the
input stream reads) have to be done.  I tried calling 

method.getParams().setSoTimeout(remainingTime)

  but it only sets the timeout once, just before opening the connection.  Is
there a way of getting the http connection behind an executing http method?
Or setting the connection parameters?

  Thank you!

    []s Gustavo

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message