hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: How To Use RedirectHandler
Date Tue, 12 Apr 2011 08:48:36 GMT
On Mon, 2011-04-11 at 12:57 -0700, Andrew n marshall wrote:
> I need to get the intermediate headers during a redirect, but I can't figure
> out how to use RedirectHandler interface.  What method takes in its
> implementation?
> 
> 
> Andrew

Andrew, 

Please see
http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/RedirectHandler.html

RedirectHandler is basically a strategy object that (1) can decide
whether or not a response message represents a redirect (2) extract the
redirect location from the response message.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message