InputStream instream = this.requestBody;
OutputStream outstream = conn.getRequestOutputStream();
if (this.requestContentLength == CONTENT_LENGTH_CHUNKED) {
outstream = new ChunkedOutputStream(outstream);
}
if (this.requestContentLength >= 0) {
// don't need a watcher here - we're reading from something local,
// not server-side.
instream = new ContentLengthInputStream(instream, this.requestContentLength);