net.sf.lavalamp.site
Class UrlGetter

java.lang.Object
  extended by net.sf.lavalamp.site.UrlGetter
All Implemented Interfaces:
Getter

public class UrlGetter
extends Object
implements Getter


Constructor Summary
UrlGetter()
           
 
Method Summary
 String get(String url)
           
 String get(String url, char[] sensitive)
           
 org.apache.commons.httpclient.UsernamePasswordCredentials getCredentials()
           
protected  String getMaskedUrl(String url, char[] sensitive)
           
 void setCredentials(org.apache.commons.httpclient.UsernamePasswordCredentials credentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlGetter

public UrlGetter()
Method Detail

get

public String get(String url)
           throws IOException,
                  LoginRequiredException
Specified by:
get in interface Getter
Throws:
IOException
LoginRequiredException

getMaskedUrl

protected String getMaskedUrl(String url,
                              char[] sensitive)

get

public String get(String url,
                  char[] sensitive)
           throws IOException,
                  LoginRequiredException
Specified by:
get in interface Getter
Throws:
IOException
LoginRequiredException

setCredentials

public void setCredentials(org.apache.commons.httpclient.UsernamePasswordCredentials credentials)
Specified by:
setCredentials in interface Getter

getCredentials

public org.apache.commons.httpclient.UsernamePasswordCredentials getCredentials()
Specified by:
getCredentials in interface Getter


Copyright © 2010. All Rights Reserved.