One of the most important new features of Servlet 4.0 is the HTTP/2.0 support. It brings another cool and reliable feature—the 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.