Re: Location based RedirectStrategy

2017-01-16 Thread Oleg Kalnichevski
On Mon, 2017-01-16 at 13:22 +0100, Lucas Ventura Carro wrote: > I wanted to develop an specific RedirectStrategy, which will accept > the > redirect based on the location URI returned in response. > > So my idea was to override the 'isRedirected' method and, retrieve > the URI > with 'getLocationU

Location based RedirectStrategy

2017-01-16 Thread Lucas Ventura Carro
I wanted to develop an specific RedirectStrategy, which will accept the redirect based on the location URI returned in response. So my idea was to override the 'isRedirected' method and, retrieve the URI with 'getLocationURI', decide redirection based on this value and a fixed set -- as method 'is