@Documented
@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface QueryMap
Both keys and values are converted to strings using String.valueOf(Object). Values are
URL encoded and null will not include the query parameter in the URL.
Simple Example:
@GET("/search")
void list(@QueryMap Map<String, String> filters);
Calling with foo.list(ImmutableMap.of("foo", "bar", "kit", "kat")) yields
/search?foo=bar&kit=kat.Query,
QueryMap,
EncodedQueryMapCopyright © 2014 Square, Inc.. All Rights Reserved.