Class JSONBatchBlobDecoder

  • All Implemented Interfaces:
    JSONBlobDecoder

    public class JSONBatchBlobDecoder
    extends Object
    implements JSONBlobDecoder
    Uses a JSON definition to retrieve a Blob uploaded in a batch.

    Format is:

     {
         "upload-batch": "BATCH_ID", <-- the batch id
         "upload-fileId": "FILE_ID"  <-- the file id
     }
     
    Author:
    Tiry ([email protected])
    • Constructor Detail

      • JSONBatchBlobDecoder

        public JSONBatchBlobDecoder()
    • Method Detail

      • getBlobFromJSON

        public Blob getBlobFromJSON​(com.fasterxml.jackson.databind.node.ObjectNode jsonObject)
        Specified by:
        getBlobFromJSON in interface JSONBlobDecoder