Uses of Class
org.openapitools.client.ApiException
Packages that use ApiException
Package
Description
-
Uses of ApiException in org.openapitools.client
Methods in org.openapitools.client with parameters of type ApiExceptionModifier and TypeMethodDescriptionvoid
This is called when the API call fails.Methods in org.openapitools.client that throw ApiExceptionModifier and TypeMethodDescriptionokhttp3.Call
ApiClient.buildCall
(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build HTTP call with the given options.okhttp3.Request
ApiClient.buildRequest
(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build an HTTP request with the given options.<T> T
ApiClient.deserialize
(okhttp3.Response response, Type returnType) Deserialize response body to Java object, according to the return type and the Content-Type response header.ApiClient.downloadFileFromResponse
(okhttp3.Response response) Download file from the given response.<T> ApiResponse<T>
ApiClient.execute
(okhttp3.Call call) <T> ApiResponse<T>
Execute HTTP call and deserialize the HTTP response body into the given return type.<T> T
ApiClient.handleResponse
(okhttp3.Response response, Type returnType) Handle the given response, return the deserialized object when the response is successful.private String
ApiClient.requestBodyToString
(okhttp3.RequestBody requestBody) Convert the HTTP request body to a string.okhttp3.RequestBody
Serialize the given Java object into request body according to the object's class and the request Content-Type.void
ApiClient.updateParamsForAuth
(String[] authNames, List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Update query and header parameters based on authentication settings. -
Uses of ApiException in org.openapitools.client.api
Methods in org.openapitools.client.api that throw ApiExceptionModifier and TypeMethodDescriptionContestControllerApi.createContest
(ContestDTO contestDTO) This endpoint will create a new contest.okhttp3.Call
ContestControllerApi.createContestAsync
(ContestDTO contestDTO, ApiCallback<ContestDTO> _callback) This endpoint will create a new contest.okhttp3.Call
ContestControllerApi.createContestCall
(ContestDTO contestDTO, ApiCallback _callback) Build call for createContestprivate okhttp3.Call
ContestControllerApi.createContestValidateBeforeCall
(ContestDTO contestDTO, ApiCallback _callback) ContestControllerApi.createContestWithHttpInfo
(ContestDTO contestDTO) This endpoint will create a new contest.void
ContestControllerApi.deleteAllContests()
This method will delete all contests.okhttp3.Call
ContestControllerApi.deleteAllContestsAsync
(ApiCallback<Void> _callback) This method will delete all contests.okhttp3.Call
ContestControllerApi.deleteAllContestsCall
(ApiCallback _callback) Build call for deleteAllContestsprivate okhttp3.Call
ContestControllerApi.deleteAllContestsValidateBeforeCall
(ApiCallback _callback) ContestControllerApi.deleteAllContestsWithHttpInfo()
This method will delete all contests.void
ContestControllerApi.deleteContest
(Integer contestId) This method will delete the specified contest.okhttp3.Call
ContestControllerApi.deleteContestAsync
(Integer contestId, ApiCallback<Void> _callback) This method will delete the specified contest.okhttp3.Call
ContestControllerApi.deleteContestCall
(Integer contestId, ApiCallback _callback) Build call for deleteContestprivate okhttp3.Call
ContestControllerApi.deleteContestValidateBeforeCall
(Integer contestId, ApiCallback _callback) ContestControllerApi.deleteContestWithHttpInfo
(Integer contestId) This method will delete the specified contest.void
ContestControllerApi.doesContestExist
(Integer contestId) This method simply checks whether the contest exists.okhttp3.Call
ContestControllerApi.doesContestExistAsync
(Integer contestId, ApiCallback<Void> _callback) This method simply checks whether the contest exists.okhttp3.Call
ContestControllerApi.doesContestExistCall
(Integer contestId, ApiCallback _callback) Build call for doesContestExistprivate okhttp3.Call
ContestControllerApi.doesContestExistValidateBeforeCall
(Integer contestId, ApiCallback _callback) ContestControllerApi.doesContestExistWithHttpInfo
(Integer contestId) This method simply checks whether the contest exists.ContestControllerApi.getContest
(Integer contestId) Returns the specified contest.okhttp3.Call
ContestControllerApi.getContestAsync
(Integer contestId, ApiCallback<ContestDTO> _callback) Returns the specified contest.okhttp3.Call
ContestControllerApi.getContestCall
(Integer contestId, ApiCallback _callback) Build call for getContestContestControllerApi.getContests
(Integer offset, Integer limit) This endpoint will return a collection of contests based on the paging values assignedokhttp3.Call
ContestControllerApi.getContestsAsync
(Integer offset, Integer limit, ApiCallback<ContestListDTO> _callback) This endpoint will return a collection of contests based on the paging values assigned (asynchronously)okhttp3.Call
ContestControllerApi.getContestsCall
(Integer offset, Integer limit, ApiCallback _callback) Build call for getContestsprivate okhttp3.Call
ContestControllerApi.getContestsValidateBeforeCall
(Integer offset, Integer limit, ApiCallback _callback) ContestControllerApi.getContestsWithHttpInfo
(Integer offset, Integer limit) This endpoint will return a collection of contests based on the paging values assignedprivate okhttp3.Call
ContestControllerApi.getContestValidateBeforeCall
(Integer contestId, ApiCallback _callback) ContestControllerApi.getContestWithHttpInfo
(Integer contestId) Returns the specified contest.void
ContestControllerApi.updateContest
(Integer contestId, ContestDTO contestDTO) Update an existing contest -- perhaps to schedule it or report scores.okhttp3.Call
ContestControllerApi.updateContestAsync
(Integer contestId, ContestDTO contestDTO, ApiCallback<Void> _callback) Update an existing contest -- perhaps to schedule it or report scores.okhttp3.Call
ContestControllerApi.updateContestCall
(Integer contestId, ContestDTO contestDTO, ApiCallback _callback) Build call for updateContestprivate okhttp3.Call
ContestControllerApi.updateContestValidateBeforeCall
(Integer contestId, ContestDTO contestDTO, ApiCallback _callback) ContestControllerApi.updateContestWithHttpInfo
(Integer contestId, ContestDTO contestDTO) Update an existing contest -- perhaps to schedule it or report scores. -
Uses of ApiException in org.openapitools.client.auth
Methods in org.openapitools.client.auth that throw ApiExceptionModifier and TypeMethodDescriptionvoid
ApiKeyAuth.applyToParams
(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) void
Authentication.applyToParams
(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Apply authentication settings to header and query params.void
HttpBasicAuth.applyToParams
(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) void
HttpBearerAuth.applyToParams
(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri)