com.notuvy.net
Class UrlRedirectResolve
java.lang.Object
com.notuvy.net.UrlRedirectResolve
public class UrlRedirectResolve
- extends Object
Take the given url and follow all the redirects until it reaches a final resource.
- Author:
- murali
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.log4j.Logger LOG
UrlRedirectResolve
public UrlRedirectResolve(String pUrl)
getSequence
public LinkedList<String> getSequence()
getUrl
public String getUrl()
findRedirect
protected String findRedirect()
resolve
public String resolve()
main
public static void main(String[] args)
Copyright © 2013. All Rights Reserved.