开发者

Final URL (after all redirects) using apache HttpClient

H开发者_如何学Cow 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() ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜