use of com.koushikdutta.async.http.Multimap in project AndroidAsync by koush.
the class AsyncHttpServerRequestImpl method get.
@Override
public String get(String name) {
Multimap query = getQuery();
String ret = query.getString(name);
if (ret != null)
return ret;
AsyncHttpRequestBody body = getBody();
Object bodyObject = body.get();
if (bodyObject instanceof Multimap) {
Multimap map = (Multimap) bodyObject;
return map.getString(name);
}
return null;
}
Aggregations