|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Fetcher
| Method Summary | |
|---|---|
LastfmResponse |
get(java.util.Map<java.lang.String,java.lang.String> parameters)
Perform a get request to the Last.fm API. |
double |
getWebRequestsPerSecond()
Get the current number of requests per second. |
LastfmResponse |
post(java.util.Map<java.lang.String,java.lang.String> parameters)
Perform a post request to the Last.fm API. |
| Method Detail |
|---|
double getWebRequestsPerSecond()
LastfmResponse post(java.util.Map<java.lang.String,java.lang.String> parameters)
throws LastfmWebServicesException
parameters - A Key/Value map of HTTP parameters.
LastfmWebServicesException - Thrown on any fetching errors encountered.
LastfmResponse get(java.util.Map<java.lang.String,java.lang.String> parameters)
throws LastfmWebServicesException
parameters - A Key/Value map of HTTP parameters.
LastfmWebServicesException - Thrown on any fetching errors encountered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||