use of com.koushikdutta.async.http.body.UrlEncodedFormBody in project ion by koush.
the class IonRequestBuilder method setBodyParameter.
@Override
public IonRequestBuilder setBodyParameter(String name, String value) {
if (bodyParameters == null) {
bodyParameters = new Multimap();
setBody(new UrlEncodedFormBody(bodyParameters));
}
if (value != null)
bodyParameters.add(name, value);
return this;
}
Aggregations