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.
After #36334 Spring MVC controllers benefit from optimized response header writing via
ServletServerHttpResponse.Functional endpoints don't benefit from the change because
AbstractServerResponsehas its own header writing, and theHttpHeadersinstance created in theServerResponse.BodyBuilderhierarchy needs to be updated to useServletResponseHeadersAdapter.