本文整理了Java中retrofit.http.DELETE.<init>()
方法的一些代码示例,展示了DELETE.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DELETE.<init>()
方法的具体详情如下:
包路径:retrofit.http.DELETE
类名称:DELETE
方法名:<init>
暂无
代码示例来源: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: 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: 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: spinnaker/halyard
@DELETE("/v1/config/deployments/{deploymentName}/canary/{serviceIntegrationName}/accounts/account/{accountName}/")
DaemonTask<Halconfig, Void> deleteCanaryAccount(
@Path("deploymentName") String deploymentName,
@Path("serviceIntegrationName") String serviceIntegrationName,
@Path("accountName") String accountName,
@Query("validate") boolean validate);
代码示例来源:origin: com.netflix.spinnaker.halyard/halyard-cli
@DELETE("/v1/config/deployments/{deploymentName}/pubsubs/{pubsubName}/subscriptions/subscription/{subscriptionName}/")
DaemonTask<Halconfig, Void> deleteSubscription(
@Path("deploymentName") String deploymentName,
@Path("pubsubName") String pubsubName,
@Path("subscriptionName") String subscriptionName,
@Query("validate") boolean validate);
代码示例来源:origin: spinnaker/halyard
@DELETE("/v1/config/deployments/{deploymentName}/providers/{providerName}/accounts/account/{accountName}/")
DaemonTask<Halconfig, Void> deleteAccount(
@Path("deploymentName") String deploymentName,
@Path("providerName") String providerName,
@Path("accountName") String accountName,
@Query("validate") boolean validate);
代码示例来源:origin: spinnaker/halyard
@DELETE("/v1/config/deployments/{deploymentName}/ci/{ciName}/masters/{masterName}/")
DaemonTask<Halconfig, Void> deleteMaster(
@Path("deploymentName") String deploymentName,
@Path("ciName") String ciName,
@Path("masterName") String masterName,
@Query("validate") boolean validate);
代码示例来源:origin: com.netflix.spinnaker.halyard/halyard-cli
@DELETE("/v1/config/deployments/{deploymentName}/artifactProviders/{providerName}/artifactAccounts/account/{accountName}/")
DaemonTask<Halconfig, Void> deleteArtifactAccount(
@Path("deploymentName") String deploymentName,
@Path("providerName") String providerName,
@Path("accountName") String accountName,
@Query("validate") boolean validate);
代码示例来源:origin: spinnaker/halyard
@DELETE("/v1/config/deployments/{deploymentName}/pubsubs/{pubsubName}/subscriptions/subscription/{subscriptionName}/")
DaemonTask<Halconfig, Void> deleteSubscription(
@Path("deploymentName") String deploymentName,
@Path("pubsubName") String pubsubName,
@Path("subscriptionName") String subscriptionName,
@Query("validate") boolean validate);
代码示例来源:origin: spinnaker/halyard
@DELETE("/v1/config/deployments/{deploymentName}/artifactProviders/{providerName}/artifactAccounts/account/{accountName}/")
DaemonTask<Halconfig, Void> deleteArtifactAccount(
@Path("deploymentName") String deploymentName,
@Path("providerName") String providerName,
@Path("accountName") String accountName,
@Query("validate") boolean validate);
代码示例来源:origin: com.netflix.spinnaker.halyard/halyard-cli
@DELETE("/v1/config/deployments/{deploymentName}/ci/{ciName}/masters/{masterName}/")
DaemonTask<Halconfig, Void> deleteMaster(
@Path("deploymentName") String deploymentName,
@Path("ciName") String ciName,
@Path("masterName") String masterName,
@Query("validate") boolean validate);
内容来源于网络,如有侵权,请联系作者删除!