|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LastfmWebServices
| Method Summary | ||
|---|---|---|
|
execute(PostQuery<T> query)
Execute an authenticated POST Query. |
|
|
fetch(AuthenticatedGetQuery<T> query)
Fetch an authenticated GET Query. |
|
|
fetch(UnauthenticatedGetQuery<T> query)
Fetch an unauthenticated GET Query. |
|
java.lang.String |
getApiKey()
Get the current api key. |
|
java.lang.String |
getApiSecret()
Get the current api secret. |
|
Fetcher |
getFetcher()
Get the current fetcher. |
|
void |
setFetcher(Fetcher diskBufferedFetcher)
Sets the current fetcher. |
|
| Method Detail |
|---|
<T extends java.io.Serializable> T fetch(UnauthenticatedGetQuery<T> query)
throws LastfmWebServicesException
T - The return type of the query.query - The query.
LastfmWebServicesException - If fetching the Query fails.
<T extends java.io.Serializable> T fetch(AuthenticatedGetQuery<T> query)
throws LastfmWebServicesException
T - The return type of the Query.query - The query.
LastfmWebServicesException - If fetching the Query fails.
<T extends java.io.Serializable> T execute(PostQuery<T> query)
throws LastfmWebServicesException
T - The return type of the query.query - The query.
LastfmWebServicesException - If executing the Query fails.Fetcher getFetcher()
Fetcher responsible for fetching the data.void setFetcher(Fetcher diskBufferedFetcher)
diskBufferedFetcherThe - Fetcher responsible for fetching the data.java.lang.String getApiKey()
java.lang.String getApiSecret()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||