public interface UploadConcatenationService
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getConcatenatedBytes(UploadInfo uploadInfo)
Get the concatenated bytes of this concatenated upload
|
List<UploadInfo> |
getPartialUploads(UploadInfo info)
Get all underlying partial uploads associated with the given concatenated upload
|
void |
merge(UploadInfo uploadInfo)
Merge the given concatenated upload if all the underlying partial uploads are completed.
|
void merge(UploadInfo uploadInfo) throws IOException, UploadNotFoundException
uploadInfo - The concatenated uploadIOException - If merging the upload failsUploadNotFoundException - When one of the partial uploads cannot be foundInputStream getConcatenatedBytes(UploadInfo uploadInfo) throws IOException, UploadNotFoundException
uploadInfo - The concatenated uploadIOException - When return the concatenated bytes failsUploadNotFoundException - When the or one of the partial uploads cannot be foundList<UploadInfo> getPartialUploads(UploadInfo info) throws IOException, UploadNotFoundException
info - The concatenated uploadIOException - When retrieving the underlying partial uploads failsUploadNotFoundException - When one of the partial uploads cannot be foundCopyright © 2023. All rights reserved.