Skip to content

Upgrade to Servlet API 4.0 for MVC (PushBuilder and Servlet mocks) [SPR-15879] #20434

Closed
@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-15879 and commented

Servlet 4.0 is finally GA now, with its API available in final form from Maven Central. Let's upgrade spring-test to it for actual MockServletContext overrides, and also spring-webmvc for non-reflective PushBuilder injection with corresponding tests (#17273).

spring-web keeps building against the Servlet API 3.1 for the time being. This may change as we start to optionally integrate with specific Servlet 4.0 features in the core web facilities (e.g. #19883 in UrlPathHelper outside of spring-webmvc) but isn't necessary at this point.


Affects: 5.0 RC1

Issue Links:

Referenced from: commits fac1f23

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions