Class 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 Detail

      • FileMetadataHandler

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

        public FileMetadataHandler​(FileMetadataRepository fileMetadataDAO)
        Parameters:
        fileMetadataDAO -
      • FileMetadataHandler

        public FileMetadataHandler​(PipelinedHandler next)
        Parameters:
        next -
    • Method Detail

      • 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