One of the most important new features of Jakarta Servlet 4 is its HTTP/2.0 support. It brings another cool and reliable feature – Server Push.
This recipe will show you how to use Server Push in a filter and push the resources needed in every request that we want.