Hello There

I'm new to HttpClient 4.0 in specific and to HttpClient in general, and trying to figure out how to configure some parameters per host (I guess I can say "route" interchangeably with "host").

It's obvious for me how to set parameters on the HttpClient level (such as CONNECTION_TIMEOUT or TCP_NODELAY) and on the connection manager level (such as the maximum total number of connections or the maximum number of connections per route).

However, it's not so obvious how to set parameters such as the socket timeout (SO_TIMEOUT) per host. Is this possible anyway?

I believe it'd be something around HttpConnectionParamBean/HttpConnectionParams, but the problem is that I cannot figure out how to use these 2 classes, and I even did not find any usage for them in the HttpClient library.

I appreciate if someone can help.

Thanks in advance
John

Reply via email to