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 singlePair
object.List<Pair>
ApiClient. parameterToPairs(String collectionFormat, String name, Collection value)
Formats the specified collection query parameters to a list ofPair
objects.Method parameters in com.twitter.clientlib with type arguments of type Pair Modifier and Type Method 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.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.void
ApiClient. 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 void
ApiKeyAuth. applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri)
void
Authentication. 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.void
HttpBasicAuth. applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri)
void
HttpBearerAuth. applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri)
void
OAuth. applyToParams(List<Pair> queryParams, Map<String,String> headerParams, Map<String,String> cookieParams, String payload, String method, URI uri)
-