| Package | Description |
|---|---|
| me.desair.tus.server |
| Modifier and Type | Method and Description |
|---|---|
TusFileUploadService |
TusFileUploadService.addTusExtension(TusExtension feature)
Add a custom (application-specific) extension that implements the
TusExtension
interface. |
TusFileUploadService |
TusFileUploadService.disableTusExtension(String extensionName)
Disable the TusExtension for which the getName() method matches the provided string.
|
TusFileUploadService |
TusFileUploadService.withChunkedTransferDecoding(boolean isEnabled)
Instruct this service to (not) decode any requests with Transfer-Encoding value "chunked".
|
TusFileUploadService |
TusFileUploadService.withDownloadFeature()
Enable the unofficial `download` extension that also allows you to download uploaded bytes.
|
TusFileUploadService |
TusFileUploadService.withMaxUploadSize(Long maxUploadSize)
Specify the maximum number of bytes that can be uploaded per upload.
|
TusFileUploadService |
TusFileUploadService.withStoragePath(String storagePath)
If you're using the default file system-based storage service, you can use this method to
specify the path where to store the uploaded bytes and upload information.
|
TusFileUploadService |
TusFileUploadService.withThreadLocalCache(boolean isEnabled)
Enable or disable a thread-local based cache of upload data.
|
TusFileUploadService |
TusFileUploadService.withUploadExpirationPeriod(Long expirationPeriod)
You can set the number of milliseconds after which an upload is considered as expired and available for cleanup.
|
TusFileUploadService |
TusFileUploadService.withUploadIdFactory(UploadIdFactory uploadIdFactory)
Provide a custom
UploadIdFactory implementation that should be used to generate identifiers for
the different uploads. |
TusFileUploadService |
TusFileUploadService.withUploadLockingService(UploadLockingService uploadLockingService)
Provide a custom
UploadLockingService implementation that should be used when processing uploads. |
TusFileUploadService |
TusFileUploadService.withUploadStorageService(UploadStorageService uploadStorageService)
Provide a custom
UploadStorageService implementation that should be used to store uploaded bytes and
metadata (UploadInfo). |
TusFileUploadService |
TusFileUploadService.withUploadURI(String uploadURI)
Set the URI under which the main tus upload endpoint is hosted.
|
Copyright © 2023. All rights reserved.