public interface HttpParameters
Modifier and Type | Method and Description |
---|---|
HttpParameters |
add(String key,
String value)
Create a param from key value and add it to the list
|
HttpParameters |
addAll(HttpParameters other)
Merge another HttpParameters in this list
|
HttpParameters |
addMap(Map<String,? extends Object> map)
Add a map to this param list
|
HttpParameters |
addQuerystring(String queryString)
Add a Query String in this param list.
|
String |
asFormUrlEncodedString() |
String |
asOauthBaseString() |
String |
asUrl(String url)
Append the list to an URL
|
int |
size() |
HttpParameters add(String key, String value)
key
- name of the paramvalue
- value of the paramHttpParameters addAll(HttpParameters other)
other
- the HttpParameters to mergeHttpParameters addQuerystring(String queryString)
queryString
- the string to parse feed this listHttpParameters addMap(Map<String,? extends Object> map)
map
- the map to addString asUrl(String url)
url
- to appendString asOauthBaseString()
String asFormUrlEncodedString()
int size()
Copyright © 2012-2013. All Rights Reserved.