Class ConcatenationExtension
java.lang.Object
me.desair.tus.server.util.AbstractTusExtension
me.desair.tus.server.concatenation.ConcatenationExtension
- All Implemented Interfaces:
TusExtension
This extension can be used to concatenate multiple uploads into a single one enabling Clients to
perform parallel uploads and to upload non-contiguous chunks. If the Server supports this
extension, it MUST add concatenation to the Tus-Extension header.
-
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
-
ConcatenationExtension
public ConcatenationExtension()
-
-
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
-