-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Optimize request and response header handling in Spring MVC #36334
Copy link
Copy link
Closed
Labels
for: upgrade-attentionAn issue requiring extra attention when upgradingAn issue requiring extra attention when upgradingin: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
ServletServetHttpRequest and ServletServerHttpResponse use HttpHeaders, on the request side copying headers from the Servlet request into it, and on the response side merging headers into the Servlet response.
This creates overhead, which we avoid on the WebFlux side via server specific, MultiValueMap header adapters that operate directly on the headers of the underlying server API.
We can derive a similar result through Servlet request and response header adapters.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
for: upgrade-attentionAn issue requiring extra attention when upgradingAn issue requiring extra attention when upgradingin: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement