本文整理了Java中retrofit.http.DELETE
类的一些代码示例,展示了DELETE
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DELETE
类的具体详情如下:
包路径:retrofit.http.DELETE
类名称:DELETE
暂无
代码示例来源:origin: spinnaker/kayenta
@DELETE("/{ownerApp}/{configType}/{configName}")
Response delete(@Path("ownerApp") String ownerApp,
@Path("configType") String configType,
@Path("configName") String configName);
代码示例来源:origin: com.netflix.spinnaker.fiat/fiat-api
/**
* @param userId The user being logged out
* @return ignored.
*/
@DELETE("/roles/{userId}")
Response logoutUser(@Path("userId") String userId);
}
代码示例来源:origin: Kurento/kurento-java
/**
* Removes the repository item associated to the provided id.
*
* @param itemId
* the id of an existing repository item
* @return a {@link Response} containing the response code from the server
*/
@DELETE("/repo/item/{itemId}")
Response removeRepositoryItem(@Path("itemId") String itemId);
代码示例来源:origin: spinnaker/fiat
/**
* @param userId The user being logged out
* @return ignored.
*/
@DELETE("/roles/{userId}")
Response logoutUser(@Path("userId") String userId);
}
代码示例来源:origin: org.kurento/kurento-repository-client
/**
* Removes the repository item associated to the provided id.
*
* @param itemId
* the id of an existing repository item
* @return a {@link Response} containing the response code from the server
*/
@DELETE("/repo/item/{itemId}")
Response removeRepositoryItem(@Path("itemId") String itemId);
代码示例来源:origin: gitskarios/GithubAndroidSdk
@DELETE("/notifications/threads/{id}/subscription")
Observable<Response> unsubscribeThread(@Path("id") String id);
}
代码示例来源:origin: com.hp.autonomy.hod/java-hod-client
/**
* Delete a text index using a hash code obtained by queryDeleteTextIndex using the given token
* @param token The token to use to authenticate the request
* @param index The name of the index
* @return A response relaying information about the attempt to delete the index
*/
@DELETE(SYNC_URL)
Response initialDeleteTextIndex(
@Header("token") AuthenticationToken<?, ?> token,
@Path("indexName") ResourceIdentifier index
) throws HodErrorException;
代码示例来源:origin: com.hp.autonomy.hod/java-hod-client
/**
* Deletes all the documents from the given text index using the given API key
* @param token The token to use to authenticate the request
* @param index The index to delete from
* @return The job ID of the request
* @throws HodErrorException If an error occurs with the request
*/
@DELETE(URL + "?delete_all_documents=true")
Response deleteAllDocumentsFromTextIndex(
@Header("token") final AuthenticationToken<?, ?> token,
@Path("indexName") final ResourceIdentifier index
) throws HodErrorException;
代码示例来源:origin: io.paradoxical/cassieq-client
@DELETE("/api/v1/accounts/{accountName}/queues/{queueName}")
Call<ResponseBody> deleteQueue(
@Path("accountName") AccountName accountName,
@Path("queueName") QueueName queueName);
}
代码示例来源:origin: tomahawk-player/tomahawk-android
@DELETE("/playlists/{playlist-id}")
Response deletePlaylists(
@Header("Authorization") String accesstoken,
@Path("playlist-id") String playlist_id
);
代码示例来源:origin: tomahawk-player/tomahawk-android
@DELETE("/relationships/{relationship-id}")
Response deleteRelationShip(
@Header("Authorization") String accesstoken,
@Path("relationship-id") String relationship_id
);
代码示例来源:origin: com.hp.autonomy.hod/java-hod-client
@DELETE(URL + V1)
Response deleteQueryProfile(
@Header(TOKEN_HEADER) AuthenticationToken<?, ?> token,
@Path(PROFILE_VARIABLE) ResourceIdentifier queryProfile
) throws HodErrorException;
代码示例来源:origin: wearemakery/retrogram
@DELETE("/media/{media_id}/likes")
public DeleteLikeResponse deleteLike(
@Path("media_id") String mediaId,
@Query("access_token") String accessToken);
代码示例来源:origin: tomahawk-player/tomahawk-android
@DELETE("/playlistEntries/{entry-id}")
Response deletePlaylistsPlaylistEntries(
@Header("Authorization") String accesstoken,
@Path("entry-id") String entry_id,
@Query("playlist_id") String playlist_id
);
代码示例来源:origin: wearemakery/retrogram
@DELETE("/media/{media_id}/comments/{comment_id}")
public DeleteCommentResponse delete(
@Path("media_id") String mediaId,
@Path("comment_id") String commentId,
@Query("access_token") String accessToken
);
代码示例来源:origin: com.hp.autonomy.hod/java-hod-client
@DELETE("/2/api/sync/domain/{domain_name}/application/{application_name}/v1")
StatusResponse delete(
@Header("token") String signature,
@Path("domain_name") String domain,
@Path("application_name") String name
) throws HodErrorException;
代码示例来源:origin: com.hp.autonomy.hod/java-hod-client
@DELETE(BASE_PATH + "/{name}" + V1)
Response delete(
@Header(TOKEN_HEADER) AuthenticationToken<?, ?> token,
@Path(USER_STORE_VARIABLE) ResourceIdentifier userStore,
@Path("name") String name
) throws HodErrorException;
代码示例来源:origin: com.hp.autonomy.hod/java-hod-client
@DELETE(USER_BASE_PATH + V1)
Response delete(
@Header(TOKEN_HEADER) AuthenticationToken<?, ?> token,
@Path(USER_STORE_VARIABLE) ResourceIdentifier userStore,
@Path(USER_UUID_VARIABLE) UUID userUuid
) throws HodErrorException;
代码示例来源:origin: spinnaker/halyard
@DELETE("/v1/config/deployments/{deploymentName}/artifactTemplates/{templateName}/")
DaemonTask<Halconfig, Void> deleteArtifactTemplate(
@Path("deploymentName") String deploymentName,
@Path("templateName") String templateName,
@Query("validate") boolean validate);
代码示例来源:origin: io.paradoxical/cassieq-client
@DELETE("api/v1/accounts/{accountName}/queues/{queueName}/messages")
Call<ResponseBody> ackMessage(
@Path("accountName") AccountName accountName,
@Path("queueName") QueueName queueName,
@Query("popReceipt") String popReceipt);
内容来源于网络,如有侵权,请联系作者删除!