Package | Description |
---|---|
com.huawei.dli.restapi | |
com.huawei.dli.restapi.auth |
Modifier and Type | Method and Description |
---|---|
List<Pair> |
ApiClient.parameterToPair(String name,
Object value)
Formats the specified query parameter to a list containing a single
Pair object. |
Modifier and Type | Method and Description |
---|---|
okhttp3.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)
Build HTTP call with the given options.
|
okhttp3.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)
Build HTTP call with the given options.
|
okhttp3.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)
Build an HTTP request with the given options.
|
okhttp3.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)
Build an HTTP request with the given options.
|
String |
ApiClient.buildUrl(String path,
List<Pair> queryParams,
List<Pair> collectionQueryParams)
Build full URL by concatenating base path, the given sub path and query parameters.
|
String |
ApiClient.buildUrl(String path,
List<Pair> queryParams,
List<Pair> collectionQueryParams)
Build full URL by concatenating base path, the given sub path and query parameters.
|
void |
ApiClient.updateParamsForAuth(String[] authNames,
String url,
String method,
List<Pair> queryParams,
Map<String,String> headerParams,
Object body)
Update query and header parameters based on authentication settings.
|
Modifier and Type | Method and Description |
---|---|
void |
Authentication.applyToParams(String url,
String method,
List<Pair> queryParams,
Map<String,String> headerParams,
Object body)
Apply authentication settings to header and query params.
|
Copyright © 2023. All rights reserved.