@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 two ways:
RequestBodythe value will be used directly with its content type.
@Multipart @POST("/upload") Call<ResponseBody> upload( @Part("file") RequestBody file, @PartMap Map<String, RequestBody> params);
null value for the map, as a key, or as a value is not allowed.
public abstract String encoding
Content-Transfer-Encodingof the parts.
Copyright © 2020 Square, Inc.. All rights reserved.