cancel
Showing results for 
Search instead for 
Did you mean: 

Use @convert adapter in java client

Jyothsna_SM
Champ in-the-making
Champ in-the-making

How can I add adapters in my request to Nuxeo servers using Nuxeo java client (v3.2.0)

I want to fetch the blob converted as pdf. From the REST-API I can make calls like:

GET http://localhost:8080/nuxeo/api/v1/path/{docPath}/@blob/file:content/@convert?converter=any2pdf

How to add the convert adapter in the Java Client?

Currently I can fetch the blob using client like: nuxeoClient.repository().streamBlobByPath(path, "file:content");

1 REPLY 1

Rodri_
Star Contributor
Star Contributor

Hello,

I think you can use the three Automation operations listed here: https://doc.nuxeo.com/nxdoc/conversion/#automation

Just use the operation method in Java Client as described here: https://doc.nuxeo.com/client-java/3.2/automation/

I hope it helps.

Regards.