The HttpComponentsClientHttpRequestFactory throw UnsupportedOperationException when bufferRequestBody is set false. So I added testcase HttpComponentsClientHttpRequestFactoryTests to recommend about use SimpleClientHttpRequestFactory if bufferRequestBody is set false. Because no buffer can not use OutputStream result. Testcase is useful of knowing the fact. And I added comment at that testcase.

Issue: SPR-11981

Comment From: pivotal-issuemaster

@hangsublim 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

@hangsublim Please sign the Contributor License Agreement!

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

See the FAQ for frequently asked questions.