Package | Description |
---|---|
org.openapitools.client | |
org.openapitools.client.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. |
List<Pair> |
ApiClient.parameterToPairs(String collectionFormat,
String name,
Collection value)
Formats the specified collection query parameters to a list of
Pair objects. |
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,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
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,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
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,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
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,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
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,
List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams)
Update query and header parameters based on authentication settings.
|
Modifier and Type | Method and Description |
---|---|
void |
Authentication.applyToParams(List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams)
Apply authentication settings to header and query params.
|
void |
ApiKeyAuth.applyToParams(List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams) |
void |
HttpBasicAuth.applyToParams(List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams) |
void |
HttpBearerAuth.applyToParams(List<Pair> queryParams,
Map<String,String> headerParams,
Map<String,String> cookieParams) |
Copyright © 2022. All rights reserved.