Class FileMetadataHandler
java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.mongodb.handlers.files.FileMetadataHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
A customised and cut down version of the
PutDocumentHandler
or
PatchDocumentHandler,
this deals with both PUT and PATCHing of the metadata for a binary file.- Author:
- Nath Papadacis <nath@thirststudios.co.uk>
-
Field Summary
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of PatchFileMetadataHandler -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) Methods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe, setNext
-
Constructor Details
-
FileMetadataHandler
public FileMetadataHandler()Creates a new instance of PatchFileMetadataHandler -
FileMetadataHandler
- Parameters:
next-
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Parameters:
exchange-- Throws:
Exception
-