public class ChampionClient extends AbstractClient
apiKey, BASE_URL, region, service| Constructor and Description |
|---|
ChampionClient(String apiKey,
Region region) |
| Modifier and Type | Method and Description |
|---|---|
Champion |
getChampion(long championId) |
ChampionList |
getChampions() |
protected String |
getVersion() |
protected com.sun.jersey.api.client.ClientResponse |
request(String method,
String url,
com.sun.jersey.core.util.MultivaluedMapImpl queryParams,
com.sun.jersey.core.util.MultivaluedMapImpl data) |
commaDelimit, commaDelimit, delete, get, get, getBaseUrl, getRegion, post, put, request, request, setRegionprotected String getVersion()
getVersion in class AbstractClientpublic ChampionList getChampions()
public Champion getChampion(long championId)
championId - the id of the desired championprotected com.sun.jersey.api.client.ClientResponse request(String method, String url, com.sun.jersey.core.util.MultivaluedMapImpl queryParams, com.sun.jersey.core.util.MultivaluedMapImpl data)
request in class AbstractClientCopyright © 2014. All rights reserved.