Uses of Class
me.desair.tus.server.TusFileUploadService
Packages that use TusFileUploadService
-
Uses of TusFileUploadService in me.desair.tus.server
Methods in me.desair.tus.server that return TusFileUploadServiceModifier and TypeMethodDescriptionTusFileUploadService.addTusExtension(TusExtension feature) Add a custom (application-specific) extension that implements theTusExtensioninterface.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 customUploadIdFactoryimplementation that should be used to generate identifiers for the different uploads.TusFileUploadService.withUploadLockingService(UploadLockingService uploadLockingService) Provide a customUploadLockingServiceimplementation that should be used when processing uploads.TusFileUploadService.withUploadStorageService(UploadStorageService uploadStorageService) Provide a customUploadStorageServiceimplementation 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.