retrofit.http
Annotation Type Part


@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface Part

Denotes a single part of a mutli-part request.

The parameter type on which this annotation exists will be processed in one of two ways:

 @Multipart
 @POST("/")
 void example(@Part("description") TypedString description,
              @Part("image") TypedFile image,
              ...
 );
 

Part parameters may not be null.


Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value


Copyright © 2013 Square, Inc.. All Rights Reserved.