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.