@Documented @Target(value=PARAMETER) @Retention(value=RUNTIME) public @interface PartMap
Values of the map on which this annotation exists will be processed in one of three ways:
String
the value will also be used directly with a text/plain
content type.
@Multipart @POST("/upload") void upload(@Part("file") TypedFile file, @PartMap Map<String, String> params);
public abstract String encoding
Content-Transfer-Encoding
of the parts.Copyright © 2015 Square, Inc.. All Rights Reserved.