类的使用
com.easemob.im.Pair
使用Pair的程序包
-
com.easemob.im中Pair的使用
返回变量类型为Pair的类型的com.easemob.im中的方法修饰符和类型方法说明ApiClient.parameterToPair(String name, Object value) Formats the specified query parameter to a list containing a singlePairobject.ApiClient.parameterToPairs(String collectionFormat, String name, Collection value) Formats the specified collection query parameters to a list ofPairobjects.类型变量类型为Pair的com.easemob.im中的方法参数修饰符和类型方法说明okhttp3.RequestApiClient.buildAppTokenRequest(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.okhttp3.CallApiClient.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.RequestApiClient.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.ApiClient.buildUrl(String baseUrl, String path, List<Pair> queryParams, List<Pair> collectionQueryParams) Build full URL by concatenating base path, the given sub path and query parameters.voidApiClient.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. -
com.easemob.im.auth中Pair的使用
类型变量类型为Pair的com.easemob.im.auth中的方法参数修饰符和类型方法说明voidApiKeyAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidAuthentication.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.voidHttpBasicAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidHttpBearerAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri)