Class PdfResource

java.lang.Object
org.apache.camel.quarkus.component.pdf.it.PdfResource

@Path("/pdf") @ApplicationScoped public class PdfResource extends Object
  • Field Details

    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
  • Constructor Details

    • PdfResource

      public PdfResource()
  • Method Details

    • createFromText

      @Path("/createFromText") @POST @Consumes("text/plain") @Produces("application/octet-stream") public jakarta.ws.rs.core.Response createFromText(String message) throws Exception
      Throws:
      Exception
    • appendText

      @Path("/appendText") @PUT @Consumes("text/plain") @Produces("application/octet-stream") public jakarta.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 jakarta.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 jakarta.ws.rs.core.Response decryptStandard(@QueryParam("password") String password, byte[] rawDocument) throws IOException
      Throws:
      IOException