For complete understanding on how we can send Brotli compressed responses in case of Spring Boot application you can check out our blog.
Blog Link: How to Use Brotli Compression in Spring Boot with Brotli4j
A simple Spring Boot 3.x application demonstrating how to send brotli compressed responses