Closed nikolajovickg closed 2 years ago
While performing the multipart upload this class will create instances of InitiateMultipartUploadRequest, UploadPartRequest, and CompleteMultipartUploadRequest, fill in the essential details, and send them off. If you need to add additional details then override the appropriate customise*Request methods and set the required properties within. Note that if no data is written (i.e. the object body is empty) then a normal (not multipart) upload will be performed and customisePutEmptyObjectRequest will be called instead.
Try overriding customiseInitiateRequest
and maybe customisePutEmptyObjectRequest
.
Thanks, that did the job
Right now, there's no way to set custom object metadata during multipart upload initialization, whereas it could be either exposed as an argument to the complete() method, or in the builder during manager initialization.