Package me.desair.tus.server.termination
Class TerminationDeleteRequestHandler
java.lang.Object
me.desair.tus.server.util.AbstractRequestHandler
me.desair.tus.server.termination.TerminationDeleteRequestHandler
- All Implemented Interfaces:
RequestHandler
When receiving a DELETE request for an existing upload the Server SHOULD free associated
resources and MUST respond with the 204 No Content status confirming that the upload was
terminated. For all future requests to this URL the Server SHOULD respond with the 404 Not Found
or 410 Gone status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
TerminationDeleteRequestHandler
public TerminationDeleteRequestHandler()
-
-
Method Details
-
supports
-
process
public void process(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) throws IOException, TusException - Throws:
IOException
TusException
-