本文整理匯總了Java中org.androidannotations.rest.spring.annotations.Post類的典型用法代碼示例。如果您正苦於以下問題:Java Post類的具體用法?Java Post怎麽用?Java Post使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Post類屬於org.androidannotations.rest.spring.annotations包,在下文中一共展示了Post類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: login
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/sso/oauth/token?grant_type=password&scope=ovirt-app-api&username={username}&password={password}")
@Accept(MediaType.APPLICATION_JSON)
Token login(@Path String username, @Path String password);
示例2: startVm
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/start")
void startVm(@Body Action action, @Path String vmId);
示例3: stopVm
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/stop")
void stopVm(@Body Action action, @Path String vmId);
示例4: rebootVm
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/reboot")
void rebootVm(@Body Action action, @Path String vmId);
示例5: migrateVmToHost
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/migrate")
void migrateVmToHost(@Body Action action, @Path String vmId);
示例6: cancelMigration
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/cancelmigration")
void cancelMigration(@Body Action action, @Path String vmId);
示例7: activateHost
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/hosts/{hostId}/activate")
void activateHost(@Body Action action, @Path String hostId);
示例8: deactivateHost
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/hosts/{hostId}/deactivate")
void deactivateHost(@Body Action action, @Path String hostId);
示例9: restoreSnapshot
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/snapshots/{snapshotId}/restore")
void restoreSnapshot(@Body SnapshotAction action, @Path String vmId, @Path String snapshotId);
示例10: previewSnapshotV3
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/preview_snapshot")
void previewSnapshotV3(@Body SnapshotAction snapshotAction, @Path String vmId);
示例11: previewSnapshotV4
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/previewsnapshot")
void previewSnapshotV4(@Body SnapshotAction snapshotAction, @Path String vmId);
示例12: undoSnapshotV3
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/undo_snapshot")
void undoSnapshotV3(@Body Action action, @Path String vmId);
示例13: undoSnapshotV4
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/undosnapshot")
void undoSnapshotV4(@Body Action action, @Path String vmId);
示例14: commitSnapshotV3
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/commit_snapshot")
void commitSnapshotV3(@Body Action action, @Path String vmId);
示例15: commitSnapshotV4
import org.androidannotations.rest.spring.annotations.Post; //導入依賴的package包/類
@Post("/vms/{vmId}/commitsnapshot")
void commitSnapshotV4(@Body Action action, @Path String vmId);