Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] How do you get the final redirect URL from Jetty HttpClient 9.0?

If I use HttpClient to do a HTTP GET request for http://myco.com and the
server does a 301 (Moved Perm) to http://www.myco.com, how do I get the
final URL? HttpClient will follow the redirect(s) but when I get the
onComplete with the result I see know way to get the final URL after all
redirects. Is there a way to do this?



--
View this message in context: http://jetty.4.x6.nabble.com/How-do-you-get-the-final-redirect-URL-from-Jetty-HttpClient-9-0-tp4960573.html
Sent from the Jetty User mailing list archive at Nabble.com.


Back to the top