类retrofit2.http.DELETE源码实例Demo

下面列出了怎么用retrofit2.http.DELETE的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: Endpoint2mock2   文件: MockAnnotationProccessor.java
private static String extractPath(Element element) throws NoAnnotationException {
    GET getAnnotation = element.getAnnotation(GET.class);
    if (getAnnotation != null) {
        return getAnnotation.value();
    }

    POST postAnnotation = element.getAnnotation(POST.class);
    if (postAnnotation != null) {
        return postAnnotation.value();
    }

    DELETE deleteAnnotation = element.getAnnotation(DELETE.class);
    if (deleteAnnotation != null) {
        return deleteAnnotation.value();
    }

    PUT putAnnotation = element.getAnnotation(PUT.class);
    if (putAnnotation != null) {
        return putAnnotation.value();
    }

    throw new NoAnnotationException();
}
 
源代码2 项目: rancher-java-sdk   文件: ExtensionPointService.java
@DELETE("extensionPoint/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码3 项目: kucoin-java-sdk   文件: OrderAPIRetrofit.java
@DELETE("api/v1/orders/{orderId}")
Call<KucoinResponse<OrderCancelResponse>> cancelOrder(@Path("orderId") String orderId);
 
源代码4 项目: rancher-java-sdk   文件: PhysicalHostService.java
@DELETE("physicalHost/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码5 项目: rancher-java-sdk   文件: HaConfigInputService.java
@DELETE("haConfigInput/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码6 项目: FastWaiMai   文件: RxRestService.java
@DELETE
Observable<String> delete(@Url String url, @QueryMap Map<String, Object> params);
 
源代码7 项目: xDrip-plus   文件: TidepoolUploader.java
@DELETE("/v1/datasets/{dataSetId}")
Call<MDatasetReply> deleteDataSet(@Header(SESSION_TOKEN_HEADER) String token, @Path("dataSetId") String id);
 
源代码8 项目: Infinity-For-Reddit   文件: RedditAPI.java
@DELETE("/api/multi/multipath")
Call<String> deleteMultiReddit(@HeaderMap Map<String, String> headers, @Query("multipath") String multipath);
 
源代码9 项目: 1Rramp-Android   文件: HaprampAPI.java
@DELETE("competitions/{competition_id}")
Call<DeleteCompetitionResponse> deleteCompetition(@Path("competition_id") String comp_id);
 
源代码10 项目: 1Rramp-Android   文件: HaprampAPI.java
@DELETE("drafts/{draft_id}")
Call<DraftUploadResponse> deleteDraft(@Path("draft_id") long draftId);
 
源代码11 项目: rancher-java-sdk   文件: RackspaceConfigService.java
@DELETE("rackspaceConfig/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码12 项目: rancher-java-sdk   文件: AzureConfigService.java
@DELETE("azureConfig/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码13 项目: Mysplash   文件: FollowApi.java
@DELETE(UrlCollection.UNSPLASH_NODE_API_URL + "users/{username}/follow")
Observable<ResponseBody> cancelFollow(@Path("username") String username);
 
源代码14 项目: rancher-java-sdk   文件: BackupTargetService.java
@DELETE("backupTarget/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码15 项目: rancher-java-sdk   文件: SubscribeService.java
@DELETE("subscribe/{id}")
Call<Response> delete(@Path("id") String id);
 
@DELETE("externalStoragePoolEvent/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码17 项目: Anago   文件: GitHubApiClient.java
@DELETE("/user/starred/{user}/{repo}")
Single<Void> deleteStar(@Header("Authorization") String authorization,
                        @Path("user") String user,
                        @Path("repo") String repo);
 
@DELETE("/api/v1/entries/sgv.json")
Call<ResponseBody> deleteCleanupItemsNonKeyed(@Query("find[date][$gte]") String from,
                                              @Query("find[date][$lte]") String to,
                                              @Query("find[key600][$not][$exists]") String empty);
 
源代码19 项目: rancher-java-sdk   文件: DockerBuildService.java
@DELETE("dockerBuild/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码20 项目: rancher-java-sdk   文件: DnsServiceService.java
@DELETE("dnsService/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码21 项目: Protein   文件: UserService.java
@DELETE("/v1/users/{user_id}/follow")
Observable<Response<Body>> unfollow(@Path("user_id") long userId);
 
源代码22 项目: android-proguards   文件: DribbbleService.java
@DELETE("v1/shots/{shot}/comments/{id}")
Call<Void> deleteComment(@Path("shot") long shotId,
                         @Path("id") long commentId);
 
源代码23 项目: AndroidDemo   文件: BlogServer.java
@DELETE("delete")
Call<Result<String>> deleteBlog(@Query("id") String id);
 
源代码24 项目: rancher-java-sdk   文件: PullTaskService.java
@DELETE("pullTask/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码25 项目: octoandroid   文件: OctoApi.java
@DELETE
Observable<Object> deleteFile(@Url String url);
 
@DELETE("/apis/{api}/plugins/{id}")
Call<Void> deletePluginForApi(@Path("api") String apiNameOrId, @Path("id") String pluginNameOrId);
 
源代码27 项目: rancher-java-sdk   文件: InstanceService.java
@DELETE("instance/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码28 项目: rancher-java-sdk   文件: LdapconfigService.java
@DELETE("ldapconfig/{id}")
Call<Response> delete(@Path("id") String id);
 
源代码29 项目: rancher-java-sdk   文件: ContainerExecService.java
@DELETE("containerExec/{id}")
Call<Response> delete(@Path("id") String id);
 
@DELETE("registrationToken/{id}")
Call<Response> delete(@Path("id") String id);