// Lookup request handler for this request
if (requestHandler != null) {
ConsumingNHttpEntity consumingEntity = requestHandler.entityRequest(
(HttpEntityEnclosingRequest) request, context);
if (consumingEntity == null) {
consumingEntity = new ConsumingNHttpEntityTemplate(
entity,
new SkipContentListener(this.allocator));
}
((HttpEntityEnclosingRequest) request).setEntity(consumingEntity);
connState.setConsumingEntity(consumingEntity);