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 Project: fingen   Author: YoshiOne   File: FtsApi.java    License: 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 Project: Focus   Author: ihewro   File: HttpInterface.java    License: GNU General Public License v3.0 4 votes vote down vote up
@GET
Call<String> getRSSData(@Url String with);
 
Example #3
Source Project: Collection-Android   Author: usernameyangyan   File: RequestService.java    License: MIT License 4 votes vote down vote up
@Multipart
@POST
Observable<ResponseBody> uploadFileWithHeaders(@Url String url, @QueryMap Map<String, Object> map,
                                                           @Part MultipartBody.Part image, @HeaderMap Map<String, String> headers);
 
Example #4
Source Project: MyBookshelf   Author: gedoor   File: IHttpGetApi.java    License: GNU General Public License v3.0 4 votes vote down vote up
@GET
Observable<Response<String>> getMap(@Url String url,
                                    @QueryMap(encoded = true) Map<String, String> queryMap,
                                    @HeaderMap Map<String, String> headers);
 
Example #5
Source Project: Collection-Android   Author: usernameyangyan   File: RequestService.java    License: MIT License 4 votes vote down vote up
@Multipart
@POST
Observable<ResponseBody> uploadFile(@Url String url, @QueryMap Map<String, Object> map,
                                                 @Part() MultipartBody.Part[] images);
 
Example #6
Source Project: appcenter-plugin   Author: jenkinsci   File: UploadService.java    License: MIT License 4 votes vote down vote up
@Headers("x-ms-blob-type: BlockBlob")
@PUT
CompletableFuture<Void> uploadSymbols(@Url @Nonnull String url, @Body @Nonnull RequestBody file);
 
Example #7
Source Project: MyBookshelf   Author: gedoor   File: Service.java    License: GNU General Public License v3.0 4 votes vote down vote up
@Streaming
@GET
Observable<ResponseBody> download(@Url String url);
 
Example #8
Source Project: a   Author: 804463258   File: IHttpGetApi.java    License: GNU General Public License v3.0 4 votes vote down vote up
@GET
Observable<Response<String>> get(@Url String url,
                                 @HeaderMap Map<String, String> headers);
 
Example #9
Source Project: a   Author: 804463258   File: IHttpGetApi.java    License: GNU General Public License v3.0 4 votes vote down vote up
@GET
Observable<Response<String>> getMap(@Url String url,
                                    @QueryMap(encoded = true) Map<String, String> queryMap,
                                    @HeaderMap Map<String, String> headers);
 
Example #10
Source Project: a   Author: 804463258   File: IHttpPostApi.java    License: 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 #11
Source Project: a   Author: 804463258   File: IHttpPostApi.java    License: GNU General Public License v3.0 4 votes vote down vote up
@POST
Observable<Response<String>> postJson(@Url String url,
                                      @Body RequestBody body,
                                      @HeaderMap Map<String, String> headers);
 
Example #12
Source Project: youtube-jextractor   Author: kotvertolet   File: YoutubeSiteApi.java    License: GNU General Public License v2.0 4 votes vote down vote up
@GET
Call<ResponseBody> getWebPage(@Url String url);
 
Example #13
Source Project: youtube-jextractor   Author: kotvertolet   File: YoutubeSiteApi.java    License: GNU General Public License v2.0 4 votes vote down vote up
@Streaming
@GET
Call<ResponseBody> getStream(@Url String url);
 
Example #14
Source Project: AndroidWallet   Author: Cocos-BCX   File: DownLoadManager.java    License: GNU General Public License v3.0 4 votes vote down vote up
@Streaming
@GET
Observable<ResponseBody> download(@Url String url);
 
Example #15
Source Project: Pixiv-Shaft   Author: CeuiLiSA   File: AppApi.java    License: MIT License 4 votes vote down vote up
@GET
Observable<ListComment> getNextComment(@Header("Authorization") String token,
                                       @Url String nextUrl);
 
Example #16
Source Project: Muslim-Athkar-Islamic-Reminders   Author: ashraf789   File: RetrofitApiCaller.java    License: MIT License 4 votes vote down vote up
@Headers("X-Api-Key: "+ BuildConfig.API_KEY)
@GET()
Call<Athkar> getData(@Url String url);
 
Example #17
Source Project: UberClone   Author: IramML   File: IGoogleAPI.java    License: MIT License 4 votes vote down vote up
@GET
Call<String> getPath(@Url String url);
 
Example #18
Source Project: Pixiv-Shaft   Author: CeuiLiSA   File: AppApi.java    License: MIT License 4 votes vote down vote up
@GET
Observable<ListSimpleUser> getNextSimpleUser(@Header("Authorization") String token,
                                       @Url String next_url);
 
Example #19
Source Project: Pixiv-Shaft   Author: CeuiLiSA   File: AppApi.java    License: MIT License 4 votes vote down vote up
@GET
Observable<ListIllust> getNextIllust(@Header("Authorization") String token,
                                     @Url String next_url);
 
Example #20
Source Project: Collection-Android   Author: usernameyangyan   File: RequestService.java    License: MIT License 4 votes vote down vote up
@FormUrlEncoded
 @POST
Observable<ResponseBody> getObservableWithFieldMap(@Url String url, @FieldMap Map<String, Object> map);
 
Example #21
Source Project: Pixiv-Shaft   Author: CeuiLiSA   File: AppApi.java    License: MIT License 4 votes vote down vote up
@GET
Observable<NovelSeries> getNextSeriesNovel(@Header("Authorization") String token,
                                           @Url String next_url);
 
Example #22
Source Project: Collection-Android   Author: usernameyangyan   File: RequestService.java    License: MIT License 4 votes vote down vote up
@Multipart
@POST
Observable<ResponseBody> uploadFileWithHeaders(@Url String url, @QueryMap Map<String, Object> map,
                                                            @Part() MultipartBody.Part[] images, @HeaderMap Map<String, String> headers);
 
Example #23
Source Project: PixivforMuzei3   Author: yellowbluesky   File: AuthJsonServerResponse.java    License: GNU General Public License v3.0 4 votes vote down vote up
@GET
Call<Illusts> getNextUrl(@Url String url, Object nextUrl);
 
Example #24
Source Project: Collection-Android   Author: usernameyangyan   File: RequestService.java    License: MIT License 4 votes vote down vote up
@POST
Observable<ResponseBody> getObservableWithQueryMapByPostWithHeaders(@Url String url, @QueryMap Map<String, Object> map, @HeaderMap Map<String, String> headers);
 
Example #25
Source Project: HaoReader   Author: Invinciblelee   File: IHttpGetApi.java    License: GNU General Public License v3.0 4 votes vote down vote up
@GET
Observable<Response<String>> searchBook(@Url String url,
                                        @QueryMap(encoded = true) Map<String, String> queryMap,
                                        @HeaderMap Map<String, String> headers);
 
Example #26
Source Project: v9porn   Author: ForLovelj   File: KeDouServiceApi.java    License: MIT License 4 votes vote down vote up
@Headers({"Domain-Name: " + Api.KE_DOU_WO_DOMAIN_NAME})
@GET
Observable<String> videoRelated(@Url String url, @Header("X-Forwarded-For") String ipAddress);
 
Example #27
Source Project: v9porn   Author: ForLovelj   File: KeDouServiceApi.java    License: MIT License 4 votes vote down vote up
@Headers({"Domain-Name: " + Api.KE_DOU_WO_DOMAIN_NAME})
@GET
Observable<String> getRealVideoUrl(@Url String url);
 
Example #28
Source Project: Collection-Android   Author: usernameyangyan   File: RequestService.java    License: MIT License 4 votes vote down vote up
@GET
@Streaming
Observable<ResponseBody> downloadFile(@Url String url,@HeaderMap Map<String, String> headers);
 
Example #29
Source Project: AndroidQuick   Author: ddnosh   File: TestApis.java    License: MIT License 4 votes vote down vote up
@GET
Observable<List<TestBean>> getOctocat(@Url String url);
 
Example #30
Source Project: HaoReader   Author: Invinciblelee   File: IHttpGetApi.java    License: 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);