net.sf.lavalamp.site
Class DummyRestGetter

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

public class DummyRestGetter
extends Object
implements Getter


Constructor Summary
DummyRestGetter()
           
 
Method Summary
 String get(String url)
           
 String get(String url, char[] sensitive)
           
 org.apache.commons.httpclient.UsernamePasswordCredentials getCredentials()
           
 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

DummyRestGetter

public DummyRestGetter()
Method Detail

get

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

get

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

getCredentials

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

setCredentials

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


Copyright © 2010. All Rights Reserved.