|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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:
TypedOutput
the headers and
body will be used directly.Converter.toBody(Object)
.
@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 |
---|
public abstract String value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |