| Package | Description |
|---|---|
| net.rithms.riot.api |
This package provides the
RiotApi class to request data from the Riot Api. |
| net.rithms.riot.api.request |
This package contains the classes and interfaces that are used to send requests to the Riot Api and parse the responses.
|
| net.rithms.riot.api.request.ratelimit |
This package contains the classes that are used by requests internally to automatically handle rate limit
|
| Class and Description |
|---|
| RateLimitHandler
The interface for handling rate limits
|
| Class and Description |
|---|
| RateLimitException
Thrown when the Riot Api returns error code 429 (rate limit exceeded).
|
| Class and Description |
|---|
| DefaultRateLimitHandler
This is the default
RateLimitHandler. |
| DefaultRateLimitHandler.RateLimit |
| RateLimitException
Thrown when the Riot Api returns error code 429 (rate limit exceeded).
|
| RateLimitHandler
The interface for handling rate limits
|
| RespectedRateLimitException
Thrown when the
RateLimitHandler decides to drop a request instead of sending it to the Riot API to prevent violating the rate
limit. |