Package me.desair.tus.server.expiration
Class ExpirationExtension
java.lang.Object
me.desair.tus.server.util.AbstractTusExtension
me.desair.tus.server.expiration.ExpirationExtension
- All Implemented Interfaces:
TusExtension
The Server MAY remove unfinished uploads once they expire.
-
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
-
ExpirationExtension
public ExpirationExtension()
-
-
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
-