What the docs make no reference to (and my specific question below) was what method takes in a RedirectHandler implementation.
Eventually I found the method on the DefaultHttpClient, but it seems strange to declare the interface in the client package, with out declare a method to use it in that package. I know the point is mute, considering it is deprecated. However, I'm stuck on an older version of HttpClient included in Android. On Tue, Apr 12, 2011 at 1:48 AM, Oleg Kalnichevski <[email protected]> wrote: > 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: [email protected] > For additional commands, e-mail: [email protected] > >
