retrofit2.http.Url Java Examples

The following examples show how to use retrofit2.http.Url. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FtsApi.java    From fingen with Apache License 2.0 5 votes vote down vote up
@GET
Single<Response<FtsResponse>> getData(
        @Url String url,
        @Header("Authorization") String authorization,
        @Header("User-Agent") String userAgent,
        @Header("Device-Id") String deviceID,
        @Header("Device-OS") String deviceOS,
        @Header("Version") String version,
        @Header("ClientVersion") String clientVersion,
        @Header("Host") String host,
        @Header("Connection") String connection
);
 
Example #2
Source File: AcgService.java    From AcgClub with MIT License 4 votes vote down vote up
@GET
Flowable<ResponseBody> getFictionSearchResult(@Url String url);
 
Example #3
Source File: RequestService.java    From Collection-Android with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST
Observable<ResponseBody> getObservableWithFieldMapWithHeaders(@Url String url, @FieldMap Map<String, Object> map, @HeaderMap Map<String, String> headers);
 
Example #4
Source File: ApiInterface.java    From Android with MIT License 4 votes vote down vote up
@GET
Call<OpenloadResult> uploadOpenload(@Url String url);
 
Example #5
Source File: ApiInterface.java    From Android with MIT License 4 votes vote down vote up
@GET
Call<OpenloadThumbnail> getOpenloadThumbnail(@Url String url);
 
Example #6
Source File: IHttpPostApi.java    From MyBookshelf with GNU General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST
Observable<Response<String>> postMap(@Url String url,
                                     @FieldMap(encoded = true) Map<String, String> fieldMap,
                                     @HeaderMap Map<String, String> headers);
 
Example #7
Source File: ApiInterface.java    From Android with MIT License 4 votes vote down vote up
@GET
Call<ResponseBody> uploadOpenload_id(@Url String url);
 
Example #8
Source File: IHttpPostApi.java    From HaoReader with GNU General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST
Observable<Response<String>> searchBook(@Url String url, @FieldMap(encoded = true) Map<String, String> fieldMap, @HeaderMap Map<String, String> headers);
 
Example #9
Source File: HaprampAPI.java    From 1Rramp-Android with MIT License 4 votes vote down vote up
@POST
Single<LookupAccount> getUsernames(@Url String url, @Body String body);
 
Example #10
Source File: DownloadApi.java    From RxHttp with GNU General Public License v3.0 4 votes vote down vote up
@Streaming
@GET
Observable<ResponseBody> download(@Header("RANGE") String range, @Url String url);
 
Example #11
Source File: RequestService.java    From Collection-Android with MIT License 4 votes vote down vote up
@GET
Observable<ResponseBody> getObservableWithQueryMapWithHeaders(@Url String url, @QueryMap Map<String, Object> map, @HeaderMap Map<String, String> header);
 
Example #12
Source File: SearchApi.java    From V2EX with GNU General Public License v3.0 4 votes vote down vote up
@GET()
Observable<JsonObject> search(@Url String url, @Query("q")String keywords);
 
Example #13
Source File: RequestService.java    From Collection-Android with MIT License 4 votes vote down vote up
@POST
Observable<ResponseBody> getObservableWithQueryJsonParamWithHeaders(@Url String url, @Body RequestBody json, @HeaderMap Map<String, String> headers);
 
Example #14
Source File: RequestService.java    From Collection-Android with MIT License 4 votes vote down vote up
@POST
Observable<ResponseBody> getObservableWithQueryMapByPost(@Url String url, @QueryMap Map<String, Object> map);
 
Example #15
Source File: googleAPIInterface.java    From UberClone with MIT License 4 votes vote down vote up
@GET
Call<String> getPath(@Url String url);
 
Example #16
Source File: AcgService.java    From AcgClub with MIT License 4 votes vote down vote up
@GET()
Flowable<VersionInfo> getVersionInfo(@Url String url);
 
Example #17
Source File: ApiInterface.java    From Android with MIT License 4 votes vote down vote up
@GET
Call<List<Slider>> getSlider(@Url String url);
 
Example #18
Source File: AcgService.java    From AcgClub with MIT License 4 votes vote down vote up
@GET
Flowable<ResponseBody> getFictionRecent(@Url String url);
 
Example #19
Source File: SearchApi.java    From V2EX with GNU General Public License v3.0 4 votes vote down vote up
@GET()
Observable<JsonObject> search(@Url String url, @QueryMap HashMap<String, String> param);
 
Example #20
Source File: RxRestService.java    From FastWaiMai with MIT License 4 votes vote down vote up
@Streaming
@GET
Observable<ResponseBody> download(@Url String url, @QueryMap Map<String, Object> params);
 
Example #21
Source File: RxRestService.java    From FastWaiMai with MIT License 4 votes vote down vote up
@DELETE
Observable<String> delete(@Url String url, @QueryMap Map<String, Object> params);
 
Example #22
Source File: RxRestService.java    From FastWaiMai with MIT License 4 votes vote down vote up
@PUT
@FormUrlEncoded
Observable<String> put(@Url String url, @FieldMap Map<String, Object> params);
 
Example #23
Source File: RxRestService.java    From FastWaiMai with MIT License 4 votes vote down vote up
@POST
Observable<String> postRaw(@Url String url, @Body RequestBody body);
 
Example #24
Source File: RxRestService.java    From FastWaiMai with MIT License 4 votes vote down vote up
@POST
@FormUrlEncoded
Observable<String> post(@Url String url, @FieldMap Map<String, Object> params);
 
Example #25
Source File: RetrofitApiCaller.java    From Android-POS with MIT License 4 votes vote down vote up
@GET()
Call<ArrayList<StockOnlineModel>> getStocks(@Url String url);
 
Example #26
Source File: RestService.java    From FastWaiMai with MIT License 4 votes vote down vote up
@Multipart
@POST
Call<String> upload(@Url String url, @Part MultipartBody.Part files);
 
Example #27
Source File: RestService.java    From FastWaiMai with MIT License 4 votes vote down vote up
@Streaming
@GET
Call<ResponseBody> download(@Url String url, @QueryMap Map<String, Object> params);
 
Example #28
Source File: HttpInterface.java    From Focus with GNU General Public License v3.0 4 votes vote down vote up
@GET
Call<String> getRSSData(@Url String with);
 
Example #29
Source File: IHttpGetApi.java    From HaoReader with GNU General Public License v3.0 4 votes vote down vote up
@GET
Observable<Response<String>> getWebContent(@Url String url,
                                           @HeaderMap Map<String, String> headers);
 
Example #30
Source File: TestApis.java    From AndroidQuick with MIT License 4 votes vote down vote up
@GET
Observable<List<TestBean>> getOctocat(@Url String url);