On Sun, 2012-11-18 at 15:39 -0500, Mark Greene wrote:
> Peter,
> 
> One approach I use is when I construct my callback object, I pass in a
> reference to the HttpRequest. From there, you can extra the URI. This
> approach can also be achieved if you write your own Future wrapper as well.
> 
> Hope that helps.
> 
> -Mark
> 

Besides, one can always get a reference to the actual request object
from the HttpContext instance associated with the response.

Oleg

> On Sun, Nov 18, 2012 at 1:15 PM, Peter Joole <[email protected]> wrote:
> 
> > I am wondering if there is a way to know the uri that the client had to
> > retrieve? I am using the client.execute() with the futurecallback as
> > described in the examples. But as far as I can see, you can't retrieve the
> > uri it had to execute (whether it is httpget, httphead) in the
> > HttpResponse. Am I missing a way? Or do I need to use the HttpClient with
> > the ThreadSafeClientConnManager to achieve this and pass along the uri?
> >



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to