Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • PDF generation in RHPAM and REST request with file attached

    Posted on

    Good day dear Red Hat community,

    I'm relatively new to RHPAM and would like to make it clear about some newbie questions i've got during exploring this tool.

    I would like to know what is the good path to implement PDF generatation, i have tried this guide https://www.javatpoint.com/java-create-pdf but end up being terrorized by import exceptions such as : java.io.IOException cannot be resolved to a variable etc. Also tried this one https://www.baeldung.com/java-pdf-creation which for me is kinda complicated to understand.

    The next question is, i have installed RESTWorkItemHanlder to my project, succesfully executed call and got response, but now, i need to attach PDF to it, so the rest call could send files with Content-Disposition: form-data; or is there any other way? Let me know in the answers please, thank you!

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat