Package me.desair.tus.server.download
Class DownloadExtension
java.lang.Object
me.desair.tus.server.util.AbstractTusExtension
me.desair.tus.server.download.DownloadExtension
- All Implemented Interfaces:
TusExtension
Some Tus clients also send GET request to retrieve the uploaded content. We consider this as an
unofficial extension.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe minimal list of HTTP methods that this extension needs to function properlygetName()
The name of the Tus extension that can be used to disable or enable the extensionprotected void
initRequestHandlers
(List<RequestHandler> requestHandlers) protected void
initValidators
(List<RequestValidator> requestValidators) Methods inherited from class me.desair.tus.server.util.AbstractTusExtension
handleError, process, validate
-
Constructor Details
-
DownloadExtension
public DownloadExtension()
-
-
Method Details
-
getName
Description copied from interface:TusExtension
The name of the Tus extension that can be used to disable or enable the extension- Returns:
- The name of the extension
-
getMinimalSupportedHttpMethods
Description copied from interface:TusExtension
The minimal list of HTTP methods that this extension needs to function properly- Returns:
- The list of HTTP methods required by this extension
-
initValidators
- Specified by:
initValidators
in classAbstractTusExtension
-
initRequestHandlers
- Specified by:
initRequestHandlers
in classAbstractTusExtension
-