retrofit.http
Annotation Type Path


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

Named replacement in the URL path. Values are converted to string using String.valueOf(Object).

 @GET("/image/{id}")
 void example(@Path("id") int id, ..);
 

Path parameters may not be null.


Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value


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