public class AbstractTwitchEndpoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static net.jodah.expiringmap.ExpiringMap<java.lang.String,java.lang.Object> |
restObjectCache
Cache - Objects
|
Constructor and Description |
---|
AbstractTwitchEndpoint(TwitchClient twitchClient)
AbstractTwitchEndpoint
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkScopePermission(java.util.Set<java.lang.String> scopes,
java.util.Set<java.lang.String> requiredScopes)
Check that the api has the required scopes before making a request
|
protected static net.jodah.expiringmap.ExpiringMap<java.lang.String,java.lang.Object> restObjectCache
public AbstractTwitchEndpoint(TwitchClient twitchClient)
twitchClient
- todoprotected void checkScopePermission(java.util.Set<java.lang.String> scopes, java.util.Set<java.lang.String> requiredScopes)
scopes
- Scopes, we have access to.requiredScopes
- Scopes, we want to access.