| Package | Description |
|---|---|
| me.desair.tus.server.upload | |
| me.desair.tus.server.upload.cache | |
| me.desair.tus.server.upload.disk |
| Modifier and Type | Method and Description |
|---|---|
abstract UploadId |
UploadIdFactory.createId()
Create a new unique upload ID
|
UploadId |
UUIDUploadIdFactory.createId() |
UploadId |
TimeBasedUploadIdFactory.createId() |
UploadId |
UploadInfo.getId()
Get the unique identifier of this upload process
The unique identifier is represented by a
UploadId instance |
UploadId |
UploadIdFactory.readUploadId(String url)
Read the upload identifier from the given URL.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
UploadStorageService.getUploadedBytes(UploadId id)
Get the uploaded bytes corresponding to the given upload ID as a stream
|
UploadInfo |
UploadStorageService.getUploadInfo(UploadId id)
Method to retrieve the upload info by its ID
|
boolean |
UploadLockingService.isLocked(UploadId id)
Check if the upload with the given ID is currently locked
|
void |
UploadInfo.setId(UploadId id)
Set the unique identifier of this upload process
The unique identifier is represented by a
UploadId instance |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
ThreadLocalCachedStorageAndLockingService.getUploadedBytes(UploadId id) |
UploadInfo |
ThreadLocalCachedStorageAndLockingService.getUploadInfo(UploadId id) |
boolean |
ThreadLocalCachedStorageAndLockingService.isLocked(UploadId id) |
| Modifier and Type | Method and Description |
|---|---|
protected Path |
AbstractDiskBasedService.getPathInStorageDirectory(UploadId id) |
InputStream |
DiskStorageService.getUploadedBytes(UploadId id) |
UploadInfo |
DiskStorageService.getUploadInfo(UploadId id) |
boolean |
DiskLockingService.isLocked(UploadId id) |
Copyright © 2023. All rights reserved.