How To Render PDFs With Spring WebFlux

Опубликовано: 04 Ноябрь 2024
на канале: Alex Gutjahr
1,058
21

Hey folks! In this tutorial I'll demo how to use Spring Boot to render a PDF from a WebFlux controller.

Here is how it works:
We manually render a Thymeleaf template to obtain the HTML
We created a PDF from the HTML using iText

To make things more challenging we will use external CSS and images files as part of the rendering process.

🍃 Grab the code on GitHub
https://github.com/alexgutjahr/yt/tre...

🙌 Get in Touch
Join my newsletter and say hi at https://alexgutjahr.com, or find me on Twitter   / heyalexgutjahr  

🍿 Subscribe if you want to see more Spring Boot + Kotlin tutorials!