MaxConnectionsPerHost(org.apache.http.client.HttpClient, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxConnectionsPerHost</h4>
<pre>public static&nbsp;void&nbsp;setMaxConnectionsPerHost(org.apache.http.client.HttpClient&nbsp;httpClient,
                            int&nbsp;max)</pre>
<div class="block">Set max connections allowed per host. This call will only work when
 <code>ThreadSafeClientConnManager</code> or
 <code>PoolingClientConnectionManager</code> is used.</div>
</