Uses of Class
com.binance.connector.client.common.ApiException
Packages that use ApiException
Package
Description
-
Uses of ApiException in com.binance.connector.client.common
Methods in com.binance.connector.client.common with parameters of type ApiExceptionModifier and TypeMethodDescriptionvoid
This is called when the API call fails.Methods in com.binance.connector.client.common 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) 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) 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.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 com.binance.connector.client.common.auth
Methods in com.binance.connector.client.common.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) void
SignatureAuthentication.applyToParams
(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) -
Uses of ApiException in com.binance.connector.client.common.sign
Methods in com.binance.connector.client.common.sign that throw ApiException