what about Interceptors (request & response) ? from my understanding, these are "properties" of HttpClient.
thanx khiemu On Fri, Jan 28, 2011 at 12:10 PM, Oleg Kalnichevski <[email protected]>wrote: > 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] > >
