上QQ阅读APP看书,第一时间看更新
Using Server Push to make objects available beforehand
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.