Class FileMetadataHandler

java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.mongodb.handlers.files.FileMetadataHandler
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class FileMetadataHandler extends PipelinedHandler
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>
  • Constructor Details

    • FileMetadataHandler

      public FileMetadataHandler()
      Creates a new instance of PatchFileMetadataHandler
    • FileMetadataHandler

      public FileMetadataHandler(PipelinedHandler next)
      Parameters:
      next -
  • Method Details

    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Specified by:
      handleRequest in class PipelinedHandler
      Parameters:
      exchange -
      Throws:
      Exception