PR for https://github.com/spring-projects/spring-framework/issues/31468

Comment From: pivotal-cla

@brucelwl Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@brucelwl Thank you for signing the Contributor License Agreement!

Comment From: bclozel

I'm declining this PR for now as this creates new contracts and has zero test. Let's consider the feature first in #31468 and we can reconsider this.