square/retrofit — pull request #613 by s-urbaniak (2014-09-30 08:36:49+00:00)
Title: Support multivalues in @QueryMap and @FieldMap parameters.

Hi,

We propose the following pull-request which adds the possibility to use a Map> for query and/or field parameters.

Background: We have quite complex HTTP parameters and thus use Guava's Multimaps for manipulating those. Passing such values using Multimap.asMap() to Retrofit would be very convienient.

Retrofit already supports Iterables for regular Query parameters. This pull-request extends this semantics for QueryMaps too.

Thanks,
Sergiusz Urbaniak & Alex Thurm