net.sf.lavalamp.site
Class DummyRestGetter
java.lang.Object
net.sf.lavalamp.site.DummyRestGetter
- All Implemented Interfaces:
- Getter
public class DummyRestGetter
- extends Object
- implements Getter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyRestGetter
public DummyRestGetter()
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.