public class GetProject extends Endpoint<Project,EmptyRequest>
| Constructor and Description |
|---|
GetProject(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<Project> |
getResponseClass()
Returns the response class.
|
boolean |
requiresBody()
Returns whether the endpoint requires a body.
|
checkBodyForErrors, executeRequest, getMethod, getReplacedUrl, isJsonBody, readFile, readStream, sendRequest, sendRequestpublic GetProject(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<Project,EmptyRequest>public com.google.gson.reflect.TypeToken<EmptyRequest> getRequestClass()
getRequestClass in class Endpoint<Project,EmptyRequest>TypeToken for the response.public com.google.gson.reflect.TypeToken<Project> getResponseClass()
getResponseClass in class Endpoint<Project,EmptyRequest>TypeToken for the response.public boolean requiresBody()
requiresBody in class Endpoint<Project,EmptyRequest>Copyright © 2026. All rights reserved.