Fix the setXXXStream methods. If passed a null InputStream, convert

Kris Jurka <books@ejurka.com>

Commit: 9287630fbc2e29cd858a5a05eba0a9dd8e756ef3
Author: Kris Jurka <books@ejurka.com>
Date: 2004-02-03T05:13:56Z
Releases: 7.4.2
Fix the setXXXStream methods.  If passed a null InputStream, convert
this to a setNull call.  The code originally would try to read the
whole stream in one call to read(), but this doesn't work.  The
InputStream API makes it clear you must be prepared to loop and
continue reading if you didn't get the whole request on the first
try.

Per report from Martin Holz.

Files