Skip to content

Optimize get for all values in ServletRequestHeadersAdapter and ServletResponseHeadersAdapter #37080

Description

@rstoyanchev

The Servlet API uses Enumeration for the values of a header, and currently we copy those into a new List on each call, which can make a big difference in a benchmark test as in #37042.

We can look to make this more optimal.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions