conduit = new FixedLengthStreamSinkConduit(conduit, contentLength, false, ! keepAlive, sendCompletedListener(request));
}
}
}
conduitChannel = new ConduitStreamSinkChannel(underlyingChannel, conduit);
requestChannel = new GatedStreamSinkChannel(conduitChannel, this, false, true);
// Enqueue the request for sending
connection.enqueueRequest(request);
return requestChannel;
}