Package me.desair.tus.server.core
Class CoreDefaultResponseHeadersHandler
java.lang.Object
me.desair.tus.server.core.CoreDefaultResponseHeadersHandler
- All Implemented Interfaces:
RequestHandler
The Tus-Resumable header MUST be included in every request and response except for OPTIONS
requests. The value MUST be the version of the protocol used by the Client or the Server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) boolean
supports
(HttpMethod method)
-
Constructor Details
-
CoreDefaultResponseHeadersHandler
public CoreDefaultResponseHeadersHandler()
-
-
Method Details
-
supports
- Specified by:
supports
in interfaceRequestHandler
-
process
public void process(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) - Specified by:
process
in interfaceRequestHandler
-
isErrorHandler
public boolean isErrorHandler()- Specified by:
isErrorHandler
in interfaceRequestHandler
-