Package org.jclouds.b2.features
Interface MultipartApi
@Consumes("application/json")
public interface MultipartApi
-
Method Summary
Modifier and TypeMethodDescriptioncancelLargeFile
(String fileId) finishLargeFile
(String fileId, Collection<String> contentSha1List) getUploadPartUrl
(String fileId) listUnfinishedLargeFiles
(String bucketId, String startFileId, Integer maxFileCount) uploadPart
(GetUploadPartResponse response, int partNumber, String sha1, Payload payload)
-
Method Details
-
startLargeFile
-
cancelLargeFile
-
finishLargeFile
@Named("b2_finish_large_file") @POST @Path("/b2api/v2/b2_finish_large_file") @Produces("application/json") B2Object finishLargeFile(String fileId, Collection<String> contentSha1List) -
getUploadPartUrl
@Named("b2_get_upload_part_url") @POST @Path("/b2api/v2/b2_get_upload_part_url") @Produces("application/json") GetUploadPartResponse getUploadPartUrl(String fileId) -
uploadPart
@Named("b2_upload_part") @POST UploadPartResponse uploadPart(GetUploadPartResponse response, @HeaderParam("X-Bz-Part-Number") int partNumber, @Nullable String sha1, Payload payload) -
listParts
-
listUnfinishedLargeFiles
-