Hi all,
How do I get the final URL of a Http request when I use HttpMethod.setFollowRedirects(true)
. I am using apache Httpclient - GetMethod
.
Hi all,
How do I get the final URL of a Http request when I use HttpMethod.setFollowRedirects(true)
. I am using apache Httpclient - GetMethod
.
Have you tried method.getURI()
, or as suggested by Stephen - method.getPath()
?