TusClient.resumeUpload(TusUpload)
if no upload URL
has been stored in the TusURLStore
.TusUploader.setChunkSize(int)
.TusClient.setHeaders(Map)
.TusExecutor.makeAttempt()
method which should then
retrieve an TusUploader
using TusClient.resumeOrCreateUpload(TusUpload)
and then
invoke TusUploader.uploadChunk()
as long as possible without catching
ProtocolException
s or IOException
s as this is taken over by this class.TusClient.resumeUpload(TusUpload)
.TusClient.resumeUpload(TusUpload)
without enabling it first.TusExecutor.makeAttempt()
throws an
exception.HashMap
.TusUploader.setChunkSize(int)
and TusUploader.uploadChunk()
and should not be used anymore. The reason is, that
this method allocates a new buffer with the supplied chunk size for each time
it's called without reusing it. This results in a high number of memory
allocations and should be avoided. The new methods do not have this issue.