Package me.desair.tus.server.creation
Class CreationHeadRequestHandler
java.lang.Object
me.desair.tus.server.util.AbstractRequestHandler
me.desair.tus.server.creation.CreationHeadRequestHandler
- All Implemented Interfaces:
RequestHandler
A HEAD request can be used to retrieve the metadata that was supplied at creation.
If an upload contains additional metadata, responses to HEAD requests MUST include the Upload-Metadata header and its value as specified by the Client during the creation.
As long as the length of the upload is not known, the Server MUST set Upload-Defer-Length: 1 in all responses to HEAD requests.
If an upload contains additional metadata, responses to HEAD requests MUST include the Upload-Metadata header and its value as specified by the Client during the creation.
As long as the length of the upload is not known, the Server MUST set Upload-Defer-Length: 1 in all responses to HEAD requests.
-
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
-
CreationHeadRequestHandler
public CreationHeadRequestHandler()
-
-
Method Details
-
supports
-
process
public void process(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) throws IOException - Throws:
IOException
-