HttpClient client = new HttpClient();
client.getHttpConnectionManager().getParams().setSoTimeout(10);This setting will then effect all connections created using the connection manager associated with the instance of HttpClient.
Mike
On Oct 27, 2003, at 9:07 AM, [EMAIL PROTECTED] wrote:
Hi,
how am I supposed to set the socket timeout for an HttpClient and for different HttpMethods with the new preferences architecture?
I don't understand the inheritance scheme: how can HttpMethodParams inherit SO_TIMEOUT from HttpConnectionParams?
What is the default value of SO_TIMEOUT for a client and for a method?
thanks a lot
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
