com.notuvy.net
Class UrlRedirectResolve

java.lang.Object
  extended by 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
           
 
Constructor Summary
UrlRedirectResolve(String pUrl)
           
 
Method Summary
protected  String findRedirect()
           
 LinkedList<String> getSequence()
           
 String getUrl()
           
static void main(String[] args)
           
 String resolve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.log4j.Logger LOG
Constructor Detail

UrlRedirectResolve

public UrlRedirectResolve(String pUrl)
Method Detail

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.