Class JSONBatchBlobDecoder
- java.lang.Object
-
- org.nuxeo.ecm.automation.server.jaxrs.batch.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 Summary
Constructors Constructor Description JSONBatchBlobDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Blob
getBlobFromJSON(com.fasterxml.jackson.databind.node.ObjectNode jsonObject)
-
-
-
Method Detail
-
getBlobFromJSON
public Blob getBlobFromJSON(com.fasterxml.jackson.databind.node.ObjectNode jsonObject)
- Specified by:
getBlobFromJSON
in interfaceJSONBlobDecoder
-
-