retrofit.http
Annotation Type Query


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

Query parameter appended to the URL. Values are converted to strings using String.valueOf(Object).

 @GET("/list")
 void example(@Query("page") int page, ..);
 

Query parameters may be null which will omit them from the URL.


Required Element Summary
 String value
           
 

Element Detail

value

public abstract String value


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