Preconditions.checkNotNull(readTimeout, "readTimeout is null");
Preconditions.checkNotNull(maxContentLength, "maxContentLength is null");
this.nettyConnectionPool = nettyConnectionPool;
this.executor = executor;
this.timeoutHandler = new ReadTimeoutHandler(this.timer, readTimeout.toMillis(), TimeUnit.MILLISECONDS);
this.maxContentLength = Ints.checkedCast(maxContentLength.toBytes());
}