@Documented
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface 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
.
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |
Copyright © 2014 Square, Inc.. All Rights Reserved.