Uses of Class
me.desair.tus.server.TusFileUploadService
-
Uses of TusFileUploadService in me.desair.tus.server
Modifier and TypeMethodDescriptionTusFileUploadService.addTusExtension
(TusExtension feature) Add a custom (application-specific) extension that implements theTusExtension
interface.TusFileUploadService.disableTusExtension
(String extensionName) Disable the TusExtension for which the getName() method matches the provided string.TusFileUploadService.withChunkedTransferDecoding
(boolean isEnabled) Instruct this service to (not) decode any requests with Transfer-Encoding value "chunked".TusFileUploadService.withDownloadFeature()
Enable the unofficial `download` extension that also allows you to download uploaded bytes.TusFileUploadService.withMaxUploadSize
(Long maxUploadSize) Specify the maximum number of bytes that can be uploaded per upload.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.withThreadLocalCache
(boolean isEnabled) Enable or disable a thread-local based cache of upload data.TusFileUploadService.withUploadExpirationPeriod
(Long expirationPeriod) You can set the number of milliseconds after which an upload is considered as expired and available for cleanup.TusFileUploadService.withUploadIdFactory
(UploadIdFactory uploadIdFactory) Provide a customUploadIdFactory
implementation that should be used to generate identifiers for the different uploads.TusFileUploadService.withUploadLockingService
(UploadLockingService uploadLockingService) Provide a customUploadLockingService
implementation that should be used when processing uploads.TusFileUploadService.withUploadStorageService
(UploadStorageService uploadStorageService) Provide a customUploadStorageService
implementation that should be used to store uploaded bytes and metadata (UploadInfo
).TusFileUploadService.withUploadUri
(String uploadUri) Set the URI under which the main tus upload endpoint is hosted.