|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shredzone.flattr4j.connector.impl.FlattrConnector
public class FlattrConnector
A Connector
that connects to the Flattr web service.
Constructor Summary | |
---|---|
FlattrConnector()
|
Method Summary | |
---|---|
Connection |
create()
Creates a new Connection for a call with request type
RequestType.GET . |
Connection |
create(RequestType type)
Creates a new Connection for a call with the given request type. |
AccessToken |
getAccessToken()
AccessToken to be used for authorized calls. |
String |
getBaseUrl()
Base URL of the API. |
void |
setAccessToken(AccessToken accessToken)
|
void |
setBaseUrl(String baseUrl)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlattrConnector()
Method Detail |
---|
public Connection create() throws FlattrException
Connector
Connection
for a call with request type
RequestType.GET
.
create
in interface Connector
Connection
that was created
FlattrException
public Connection create(RequestType type) throws FlattrException
Connector
Connection
for a call with the given request type.
create
in interface Connector
type
- RequestType
to be used
Connection
that was created
FlattrException
public String getBaseUrl()
public void setBaseUrl(String baseUrl)
public AccessToken getAccessToken()
AccessToken
to be used for authorized calls.
public void setAccessToken(AccessToken accessToken)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |