Draft list of changes in Servlet 4.0
The proposed final draft (PDF) of the Servlet 4.0 spec has just been made available at GitHub . The major new feature is HTTP/2 support and specifically the push support that comes with it. Java EE already has support for push via WebSockets (including WebSocket support in JSF 2.3 ), but there are other interesting changes as well, such as for instance the Mapping Discovery API . The following contains a terse list of changes, taken from section A.1 of the above linked Servlet 4.0 PFD document. All mentioned references to sections are to that document. Requirement to support HTTP/2, see Section 1.2, āWhat is a Servlet Container?ā on page 1-1 and āWhat is a Servlet?ā on page 1 1. This includes HTTP/2 server push, see āHTTP/2 Server Pushā on page 3 29. Modify javadoc for ServletContext getAttribute() and getInitParameter(), specify that NullPointerException must be thrown if the argument ānameā is null. Modify javadoc for ServletContext.setAttribute() and setInitParameter() to...