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