public class GetLoaders extends Endpoint<List<Loader>,EmptyRequest>
| Constructor and Description |
|---|
GetLoaders(HttpClient client,
com.google.gson.Gson gson)
Creates a new instance of the endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpoint()
Returns the endpoint.
|
com.google.gson.reflect.TypeToken<EmptyRequest> |
getRequestClass()
Returns the request class.
|
com.google.gson.reflect.TypeToken<List<Loader>> |
getResponseClass()
Returns the response class.
|
checkBodyForErrors, executeRequest, getMethod, getReplacedUrl, isJsonBody, readFile, readStream, requiresBody, sendRequest, sendRequestpublic GetLoaders(HttpClient client, com.google.gson.Gson gson)
client - The client to use.gson - The gson instance to use.public String getEndpoint()
getEndpoint in class Endpoint<List<Loader>,EmptyRequest>public com.google.gson.reflect.TypeToken<EmptyRequest> getRequestClass()
getRequestClass in class Endpoint<List<Loader>,EmptyRequest>TypeToken for the response.public com.google.gson.reflect.TypeToken<List<Loader>> getResponseClass()
getResponseClass in class Endpoint<List<Loader>,EmptyRequest>TypeToken for the response.Copyright © 2026. All rights reserved.