Closed
Description
Rossen Stoyanchev opened SPR-14467 and commented
spring-web needs to compile with Servlet 3.1 to take advantage of the non-blocking I/O but we originally aimed to maintain 3.0 compatibility.
As a result of the reactive merge the ContentCachingRequest/ResponseWrapper had to implement 3.1 methods with Read/WriteListener. We'd need a custom solution that makes those usable with Servlet 3.0+.
Along the same lines the upgrade also required some test classes to add 3.1 related methods. Many of those were temporarily added without implementation, i.e. raising an exception. We should review and add implementations.
Issue Links:
- Drop Servlet 2.5 runtime compatibility [SPR-13189] #17781 Drop Servlet 2.5 runtime compatibility
- Support for Servlet 4.0 API [SPR-12674] #17273 Support for Servlet 4.0 API