Jaspersoft/jrs-rest-java-client — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Java client library for JasperReports Server so a Java app can talk to one or more servers without hand writing raw REST calls.

I want it to make the common tasks feel simple, like connecting with a saved or manual config, logging in or using an anonymous session, switching between JSON and XML, handling HTTPS, logging useful errors, and closing sessions cleanly. It should let a developer run reports, check status, download report output and attachments, update report parameters, manage report options and input controls, search and manage repository resources, users, roles, organizations, permissions, scheduled jobs, calendars, imports, exports, metadata, diagnostics, thumbnails, contexts, and data discovery.

Please make the API friendly and hard to misuse, with clear request builders or service classes, sensible exception handling, and examples that show the main flows. Set it up as a Maven Java project with tests and a practical README. Look up the current JasperReports Server REST docs online if you need to.

Want more depth? Deep Reverse