| Package | Description |
|---|---|
| me.desair.tus.server | |
| 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 |
|---|---|
UploadInfo |
TusFileUploadService.getUploadInfo(String uploadURI)
Get the information on the upload corresponding to the given upload URI
|
UploadInfo |
TusFileUploadService.getUploadInfo(String uploadURI,
String ownerKey)
Get the information on the upload corresponding to the given upload URI
|
| Modifier and Type | Method and Description |
|---|---|
UploadInfo |
UploadStorageService.append(UploadInfo upload,
InputStream inputStream)
Append the bytes in the give
InputStream to the upload with the given ID starting at the provided offset. |
UploadInfo |
UploadStorageService.create(UploadInfo info,
String ownerKey)
Create an upload location with the given upload information
|
UploadInfo |
UploadStorageService.getUploadInfo(String uploadUrl,
String ownerKey)
Method to retrieve the upload info by its upload URL
|
UploadInfo |
UploadStorageService.getUploadInfo(UploadId id)
Method to retrieve the upload info by its ID
|
| Modifier and Type | Method and Description |
|---|---|
UploadInfo |
UploadStorageService.append(UploadInfo upload,
InputStream inputStream)
Append the bytes in the give
InputStream to the upload with the given ID starting at the provided offset. |
void |
UploadStorageService.copyUploadTo(UploadInfo info,
OutputStream outputStream)
Copy the uploaded bytes to the given output stream
|
UploadInfo |
UploadStorageService.create(UploadInfo info,
String ownerKey)
Create an upload location with the given upload information
|
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 |
|---|---|
UploadInfo |
ThreadLocalCachedStorageAndLockingService.append(UploadInfo upload,
InputStream inputStream) |
UploadInfo |
ThreadLocalCachedStorageAndLockingService.create(UploadInfo info,
String ownerKey) |
UploadInfo |
ThreadLocalCachedStorageAndLockingService.getUploadInfo(String uploadUrl,
String ownerKey) |
UploadInfo |
ThreadLocalCachedStorageAndLockingService.getUploadInfo(UploadId id) |
| Modifier and Type | Method and Description |
|---|---|
UploadInfo |
ThreadLocalCachedStorageAndLockingService.append(UploadInfo upload,
InputStream inputStream) |
void |
ThreadLocalCachedStorageAndLockingService.copyUploadTo(UploadInfo info,
OutputStream outputStream) |
UploadInfo |
ThreadLocalCachedStorageAndLockingService.create(UploadInfo info,
String ownerKey) |
void |
ThreadLocalCachedStorageAndLockingService.removeLastNumberOfBytes(UploadInfo uploadInfo,
long byteCount) |
void |
ThreadLocalCachedStorageAndLockingService.terminateUpload(UploadInfo uploadInfo) |
void |
ThreadLocalCachedStorageAndLockingService.update(UploadInfo uploadInfo) |
| Modifier and Type | Method and Description |
|---|---|
List<UploadInfo> |
VirtualConcatenationService.getPartialUploads(UploadInfo info) |
List<UploadInfo> |
UploadConcatenationService.getPartialUploads(UploadInfo info)
Get all underlying partial uploads associated with the given concatenated upload
|
| 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.
|
| Constructor and Description |
|---|
UploadInputStreamEnumeration(List<UploadInfo> uploadList,
UploadStorageService uploadStorageService) |
| Modifier and Type | Method and Description |
|---|---|
UploadInfo |
DiskStorageService.append(UploadInfo info,
InputStream inputStream) |
UploadInfo |
DiskStorageService.create(UploadInfo info,
String ownerKey) |
UploadInfo |
DiskStorageService.getUploadInfo(String uploadUrl,
String ownerKey) |
UploadInfo |
DiskStorageService.getUploadInfo(UploadId id) |
| Modifier and Type | Method and Description |
|---|---|
UploadInfo |
DiskStorageService.append(UploadInfo info,
InputStream inputStream) |
void |
DiskStorageService.copyUploadTo(UploadInfo info,
OutputStream outputStream) |
UploadInfo |
DiskStorageService.create(UploadInfo info,
String ownerKey) |
void |
DiskStorageService.removeLastNumberOfBytes(UploadInfo info,
long byteCount) |
void |
DiskStorageService.terminateUpload(UploadInfo info) |
void |
DiskStorageService.update(UploadInfo uploadInfo) |
Copyright © 2019. All rights reserved.