Package | Description |
---|---|
org.shredzone.flattr4j.connector | |
org.shredzone.flattr4j.connector.impl | |
org.shredzone.flattr4j.impl | |
org.shredzone.flattr4j.model |
Modifier and Type | Method and Description |
---|---|
Connection |
Connection.call(String call)
Call to be placed against the URL.
|
Connection |
Connector.create()
Creates a new
Connection for a call with request type
RequestType.GET . |
Connection |
Connector.create(RequestType type)
Creates a new
Connection for a call with the given request type. |
Connection |
Connection.data(FlattrObject data)
Data to be transported to the call.
|
Connection |
Connection.form(String name,
String value)
Form parameter to be sent.
|
Connection |
Connection.key(ConsumerKey key)
Consumer key to be used.
|
Connection |
Connection.parameter(String name,
String value)
A parameter to be used for a placeholder in the call string.
|
Connection |
Connection.parameterArray(String name,
String[] value)
An array of parameters to be used for a placeholder in the call string.
|
Connection |
Connection.query(String name,
String value)
Query parameter to be used in the URL.
|
Connection |
Connection.rateLimit(RateLimit limit)
RateLimit object to keep updated. |
Connection |
Connection.token(AccessToken token)
Access token to be used for calls that require authentication.
|
Connection |
Connection.url(String url)
Base URL to connect to.
|
Modifier and Type | Class and Description |
---|---|
class |
FlattrConnection
Default implementation of
Connection . |
Modifier and Type | Method and Description |
---|---|
Connection |
FlattrConnection.call(String call) |
Connection |
FlattrConnector.create() |
Connection |
FlattrConnector.create(RequestType type) |
Connection |
FlattrConnection.data(FlattrObject data) |
Connection |
FlattrConnection.form(String name,
String value) |
Connection |
FlattrConnection.key(ConsumerKey key) |
Connection |
FlattrConnection.parameter(String name,
String value) |
Connection |
FlattrConnection.parameterArray(String name,
String[] value) |
Connection |
FlattrConnection.query(String name,
String value) |
Connection |
FlattrConnection.rateLimit(RateLimit limit) |
Connection |
FlattrConnection.token(AccessToken token) |
Connection |
FlattrConnection.url(String url) |
Modifier and Type | Method and Description |
---|---|
protected void |
FlattrServiceImpl.setupFullMode(Connection conn)
Sets the
Connection according to the current full mode. |
Modifier and Type | Method and Description |
---|---|
void |
SearchQuery.setupConnection(Connection conn)
Sets up a
Connection with the current search parameters. |
Copyright © 2010–2017. All rights reserved.