On Fri, 2011-01-28 at 00:05 +0100, khiem nguyen wrote: > hi, > i want to use http-client to implement a kind of proxy-server, since it'll > be used by several users & each user can have different settings > (cookie-handling, headers-handling...), is there a better way than to give > each user 1 or more instances of httpclient which hold user-specific params > & 1 connection-manager for all these client instances ? > > thanx for your help > > khiemu
You can use different instances of HttpContext, HttpParams, CookieStore, etc per individual user / thread of execution while sharing a single instance of HttpClient and a pooling connection manager for all users / threads. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
