| Package | Description |
|---|---|
| com.volcengine |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener,
boolean... isCommon)
Build HTTP call with the given options.
|
com.squareup.okhttp.Request |
ApiClient.buildRequest(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener,
boolean... isCommon)
Build an HTTP request with the given options.
|
<T> T |
ApiClient.deserialize(com.squareup.okhttp.Response response,
Type returnType,
boolean... isCommon)
Deserialize response body to Java object, according to the return type and
the Content-Type response header.
|
Map<String,Object> |
UniversalApi.doCall(UniversalRequest info,
Map<String,Object> input) |
ApiResponse<Map<String,Object>> |
UniversalApi.doCallWithHttpInfo(@NotNull UniversalRequest info,
@NotNull Map<String,Object> input) |
File |
ApiClient.downloadFileFromResponse(com.squareup.okhttp.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call,
Type returnType,
boolean... isCommon)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
<T> T |
ApiClient.handleResponse(com.squareup.okhttp.Response response,
Type returnType,
boolean... isCommon)
Handle the given response, return the deserialized object when the response is successful.
|
com.squareup.okhttp.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the object's
class and the request Content-Type.
|
Copyright © 2025. All rights reserved.