| Package | Description |
|---|---|
| me.desair.tus.server.upload | |
| me.desair.tus.server.upload.cache | |
| me.desair.tus.server.upload.concatenation | |
| me.desair.tus.server.upload.disk |
| Modifier and Type | Method and Description |
|---|---|
void |
UploadStorageService.copyUploadTo(UploadInfo info,
OutputStream outputStream)
Copy the uploaded bytes to the given output stream
|
InputStream |
UploadStorageService.getUploadedBytes(String uploadURI,
String ownerKey)
Get the uploaded bytes corresponding to the given upload URL as a stream
|
InputStream |
UploadStorageService.getUploadedBytes(UploadId id)
Get the uploaded bytes corresponding to the given upload ID as a stream
|
void |
UploadStorageService.removeLastNumberOfBytes(UploadInfo uploadInfo,
long byteCount)
Remove the given last amount of bytes from the uploaded data
|
void |
UploadStorageService.terminateUpload(UploadInfo uploadInfo)
Terminate completed and unfinished uploads allowing the Server to free up used resources.
|
void |
UploadStorageService.update(UploadInfo uploadInfo)
Update the upload information for the provided ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ThreadLocalCachedStorageAndLockingService.copyUploadTo(UploadInfo info,
OutputStream outputStream) |
InputStream |
ThreadLocalCachedStorageAndLockingService.getUploadedBytes(String uploadURI,
String ownerKey) |
InputStream |
ThreadLocalCachedStorageAndLockingService.getUploadedBytes(UploadId id) |
void |
ThreadLocalCachedStorageAndLockingService.removeLastNumberOfBytes(UploadInfo uploadInfo,
long byteCount) |
void |
ThreadLocalCachedStorageAndLockingService.terminateUpload(UploadInfo uploadInfo) |
void |
ThreadLocalCachedStorageAndLockingService.update(UploadInfo uploadInfo) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
VirtualConcatenationService.getConcatenatedBytes(UploadInfo uploadInfo) |
InputStream |
UploadConcatenationService.getConcatenatedBytes(UploadInfo uploadInfo)
Get the concatenated bytes of this concatenated upload
|
List<UploadInfo> |
VirtualConcatenationService.getPartialUploads(UploadInfo info) |
List<UploadInfo> |
UploadConcatenationService.getPartialUploads(UploadInfo info)
Get all underlying partial uploads associated with the given concatenated upload
|
void |
VirtualConcatenationService.merge(UploadInfo uploadInfo) |
void |
UploadConcatenationService.merge(UploadInfo uploadInfo)
Merge the given concatenated upload if all the underlying partial uploads are completed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DiskStorageService.copyUploadTo(UploadInfo info,
OutputStream outputStream) |
InputStream |
DiskStorageService.getUploadedBytes(String uploadURI,
String ownerKey) |
InputStream |
DiskStorageService.getUploadedBytes(UploadId id) |
void |
DiskStorageService.removeLastNumberOfBytes(UploadInfo info,
long byteCount) |
void |
DiskStorageService.terminateUpload(UploadInfo info) |
void |
DiskStorageService.update(UploadInfo uploadInfo) |
Copyright © 2019. All rights reserved.