本文整理匯總了Java中retrofit.http.QueryMap類的典型用法代碼示例。如果您正苦於以下問題:Java QueryMap類的具體用法?Java QueryMap怎麽用?Java QueryMap使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
QueryMap類屬於retrofit.http包,在下文中一共展示了QueryMap類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getMessage
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/messages")
Observable<List<Message>> getMessage(@QueryMap Map<String, String> queryMap);
示例2: getProductsByFilter
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("products")
Call<ProductsResponse> getProductsByFilter(@QueryMap(encoded = true) Map<String, String> map);
示例3: getProjects
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/projects.json")
public ProjectsResponse getProjects(@QueryMap Map<String, String> queries);
示例4: getProject
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/projects/{id}.json")
public void getProject(@Path("id") String id, @QueryMap Map<String, String> queries, Callback<ProjectResponse> callback);
示例5: getIssues
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/issues.json")
public IssuesResponse getIssues(@QueryMap Map<String, String> queries);
示例6: getIssueDetail
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/issues/{id}.json")
public void getIssueDetail(@Path("id") String id, @QueryMap Map<String, String> queries, Callback<IssueResponse> callback);
示例7: getProduct
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET(Endpoints.PRODUCTS_ENDPOINT + "/{id}")
void getProduct(@Path("id")String id,@QueryMap LinkedHashMap<String, String> options, Callback<Response> response);
示例8: getProducts
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET(Endpoints.PRODUCTS_ENDPOINT)
void getProducts(@QueryMap LinkedHashMap<String, String> options, Callback<Response> response);
示例9: getCategories
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET(Endpoints.CATEGORIES_ENDPOINT)
void getCategories(@QueryMap LinkedHashMap<String, String> options, Callback<Response> response);
示例10: validate
import retrofit.http.QueryMap; //導入依賴的package包/類
@POST("/rest/document/validate")
void validate(@QueryMap Map<String, String> queries, Callback<ValidateResult> callback);
示例11: getTopics
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/topics")
Observable<TopicEntity> getTopics(@QueryMap Map<String, String> options);
示例12: publishReply
import retrofit.http.QueryMap; //導入依賴的package包/類
@POST("/replies")
Observable<ReplyEntity.AReply> publishReply(@QueryMap Map<String, String> options);
示例13: listLocations
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/api/jayab/location/list")
void listLocations(@QueryMap Map<String, Object> params, Callback<IPPaginatorPage<Location>> callBack);
示例14: getFavorites
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/user/{userId}/favorite/topics")
Observable<TopicEntity> getFavorites(@Path("userId") int userId,
@QueryMap Map<String, String> options);
示例15: getUpperHouseLocationByLatLong
import retrofit.http.QueryMap; //導入依賴的package包/類
@GET("/get/upperhouse/find") GeoReturnObject getUpperHouseLocationByLatLong(@Query("lat") String lat,
@Query("long") String lon, @QueryMap Map<PARAM_FIELD, String> options);