On 10/03/2022 17:09, Schönwald, Oliver wrote:
Dear Community,

I have begun to change my web application to support http/2.

When preparing the push mechanism my application catches a 
NullPointerException, oh my.

So I took a look into the Tomcat Sources and, surprise, the current 
implementation of HttpServletRequest always returns null.

No, it doesn't.

All currently supported Tomcat versions support HTTP/2 server push (although you'll need to cast to internal classes in 8.5.x as the Servlet 3.1 API doesn't support HTTP/2).

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to