Uses of Class
com.twitter.clientlib.Pair
-
Packages that use Pair Package Description com.twitter.clientlib com.twitter.clientlib.auth -
-
Uses of Pair in com.twitter.clientlib
Methods in com.twitter.clientlib that return types with arguments of type Pair Modifier and Type Method Description List<Pair>ApiClient. parameterToPair(String name, Object value)Formats the specified query parameter to a list containing a singlePairobject.List<Pair>ApiClient. parameterToPairs(String collectionFormat, String name, Collection value)Formats the specified collection query parameters to a list ofPairobjects.Method parameters in com.twitter.clientlib with type arguments of type Pair Modifier and Type Method Description okhttp3.CallApiClient. 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.RequestApiClient. 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.StringApiClient. buildUrl(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. -
Uses of Pair in com.twitter.clientlib.auth
Method parameters in com.twitter.clientlib.auth with type arguments of type Pair Modifier and Type Method Description 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)voidOAuth. applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri)
-