Skip to content

Update Spring MVC functional endpoints to use Servlet response header adapters #36358

@rstoyanchev

Description

@rstoyanchev

After #36334 Spring MVC controllers benefit from optimized response header writing via ServletServerHttpResponse.

Functional endpoints don't benefit from the change because AbstractServerResponse has its own header writing, and the HttpHeaders instance created in the ServerResponse.BodyBuilder hierarchy needs to be updated to use ServletResponseHeadersAdapter.

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