Package me.desair.tus.server.creation
Class CreationExtension
java.lang.Object
me.desair.tus.server.util.AbstractTusExtension
me.desair.tus.server.creation.CreationExtension
- All Implemented Interfaces:
TusExtension
The Client and the Server SHOULD implement the upload creation extension. If the Server supports
this 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
-
CreationExtension
public CreationExtension()
-
-
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
-