Retrofit.Path with encode = false.@Documented
@Deprecated
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public static @interface Retrofit.EncodedPath
String.valueOf(Object). Values are used literally without URL encoding. See
@Path for URL encoding equivalent.
@GET("/image/{id}")
void example(@EncodedPath("id") int id, ..);
Path parameters may not be null.
Retrofit.Path| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
Deprecated.
|