public class RootResource extends AbstractResource
RootResource provides the functionality
to access the root / endpoints of the Twitch API.AbstractResource.TwitchHttpResponseHandlerhttp, objectMapper| Constructor and Description |
|---|
RootResource(java.lang.String baseUrl,
int apiVersion)
Construct the resource using the Twitch API base URL and specified API version.
|
| Modifier and Type | Method and Description |
|---|---|
void |
get(TokenResponseHandler handler)
Authentication status.
|
getBaseUrl, setAuthAccessToken, setClientIdpublic RootResource(java.lang.String baseUrl,
int apiVersion)
baseUrl - the base URL of the Twitch APIapiVersion - the requested version of the Twitch APIpublic void get(TokenResponseHandler handler)
handler - the response handler