Package me.desair.tus.server.util
Class AbstractExtensionRequestHandler
java.lang.Object
me.desair.tus.server.util.AbstractRequestHandler
me.desair.tus.server.util.AbstractExtensionRequestHandler
- All Implemented Interfaces:
RequestHandler
- Direct Known Subclasses:
ChecksumOptionsRequestHandler
,ConcatenationOptionsRequestHandler
,CreationOptionsRequestHandler
,DownloadOptionsRequestHandler
,ExpirationOptionsRequestHandler
,TerminationOptionsRequestHandler
Abstract request handler to add tus extension values to the correct header
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addExtension
(StringBuilder stringBuilder, String extension) protected abstract void
appendExtensions
(StringBuilder extensionBuilder) void
process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) boolean
supports
(HttpMethod method) Methods inherited from class me.desair.tus.server.util.AbstractRequestHandler
isErrorHandler
-
Constructor Details
-
AbstractExtensionRequestHandler
public AbstractExtensionRequestHandler()
-
-
Method Details
-
supports
-
process
public void process(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) -
appendExtensions
-
addExtension
-