T - The type of the hits.O - The type of the response.I - The type of the request.public abstract class PaginatedEndpoint<T,O extends PaginatedEndpoint.PaginatedResponse<T>,I extends PaginatedEndpoint.PaginatedRequest> extends Endpoint<O,I>
| Modifier and Type | Class and Description |
|---|---|
static class |
PaginatedEndpoint.PaginatedRequest
This class is used to represent a paginated request.
|
static class |
PaginatedEndpoint.PaginatedResponse<T>
This class is used to represent a paginated response.
|
| Constructor and Description |
|---|
PaginatedEndpoint(HttpClient client,
com.google.gson.Gson gson)
Creates a new instance of the endpoint.
|
checkBodyForErrors, executeRequest, getEndpoint, getMethod, getReplacedUrl, getRequestClass, getResponseClass, isJsonBody, readFile, readStream, requiresBody, sendRequest, sendRequestpublic PaginatedEndpoint(HttpClient client, com.google.gson.Gson gson)
client - The client to use.gson - The gson instance to use.Copyright © 2026. All rights reserved.