public final class FormUrlEncodedHttpRequestBody extends Object implements HttpRequestBody
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<NameValuePair> |
getParameters() |
int |
hashCode() |
static FormUrlEncodedHttpRequestBody |
of(List<NameValuePair> data) |
static FormUrlEncodedHttpRequestBody |
of(Map<String,List<String>> data)
Creator if the order does not matter and there are no duplicates.
|
static FormUrlEncodedHttpRequestBody |
ofStringMap(Map<String,String> data)
Creator if the order does not matter and there are no duplicates.
|
String |
toString() |
public static FormUrlEncodedHttpRequestBody of(List<NameValuePair> data)
public static FormUrlEncodedHttpRequestBody ofStringMap(Map<String,String> data)
data
- name value pairs for the bodypublic static FormUrlEncodedHttpRequestBody of(Map<String,List<String>> data)
data
- name value pairs for the bodypublic List<NameValuePair> getParameters()