Class PdfResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.pdf.it.PdfResource
-
@Path("/pdf") @ApplicationScoped public class PdfResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description PdfResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponseappendText(String message)javax.ws.rs.core.ResponsecreateFromText(String message)javax.ws.rs.core.ResponsedecryptStandard(String password, byte[] rawDocument)javax.ws.rs.core.ResponseencryptStandard(String ownerPassword, String userPassword, String message)Stringget()
-
-
-
Method Detail
-
createFromText
@Path("/createFromText") @POST @Consumes("text/plain") @Produces("application/octet-stream") public javax.ws.rs.core.Response createFromText(String message) throws Exception- Throws:
Exception
-
appendText
@Path("/appendText") @PUT @Consumes("text/plain") @Produces("application/octet-stream") public javax.ws.rs.core.Response appendText(String message) throws Exception- Throws:
Exception
-
get
@Path("/extractText") @GET @Produces("text/plain") public String get() throws Exception- Throws:
Exception
-
encryptStandard
@Path("/encrypt/standard") @POST @Produces("text/plain") public javax.ws.rs.core.Response encryptStandard(@QueryParam("ownerPassword") String ownerPassword, @QueryParam("userPassword") String userPassword, String message) throws Exception- Throws:
Exception
-
decryptStandard
@Path("/decrypt/standard") @POST @Produces("text/plain") public javax.ws.rs.core.Response decryptStandard(@QueryParam("password") String password, byte[] rawDocument) throws IOException- Throws:
IOException
-
-