You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1443 lines
103 KiB
1443 lines
103 KiB
2 years ago
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<!-- NewPage -->
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<!-- Generated by javadoc (version 1.7.0_80) on Wed Nov 30 19:45:05 CET 2022 -->
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<title>HttpClientBuilder (Apache HttpComponents Client 4.5.14 API)</title>
|
||
|
<meta name="date" content="2022-11-30">
|
||
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||
|
</head>
|
||
|
<body>
|
||
|
<script type="text/javascript"><!--
|
||
|
if (location.href.indexOf('is-external=true') == -1) {
|
||
|
parent.document.title="HttpClientBuilder (Apache HttpComponents Client 4.5.14 API)";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
<noscript>
|
||
|
<div>JavaScript is disabled on your browser.</div>
|
||
|
</noscript>
|
||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
|
<div class="topNav"><a name="navbar_top">
|
||
|
<!-- -->
|
||
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="navList" title="Navigation">
|
||
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||
|
<li><a href="package-summary.html">Package</a></li>
|
||
|
<li class="navBarCell1Rev">Class</li>
|
||
|
<li><a href="class-use/HttpClientBuilder.html">Use</a></li>
|
||
|
<li><a href="package-tree.html">Tree</a></li>
|
||
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||
|
<li><a href="../../../../../index-all.html">Index</a></li>
|
||
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="subNav">
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../org/apache/http/impl/client/HttpAuthenticator.html" title="class in org.apache.http.impl.client"><span class="strong">Prev Class</span></a></li>
|
||
|
<li><a href="../../../../../org/apache/http/impl/client/HttpClients.html" title="class in org.apache.http.impl.client"><span class="strong">Next Class</span></a></li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../index.html?org/apache/http/impl/client/HttpClientBuilder.html" target="_top">Frames</a></li>
|
||
|
<li><a href="HttpClientBuilder.html" target="_top">No Frames</a></li>
|
||
|
</ul>
|
||
|
<ul class="navList" id="allclasses_navbar_top">
|
||
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||
|
</ul>
|
||
|
<div>
|
||
|
<script type="text/javascript"><!--
|
||
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||
|
if(window==top) {
|
||
|
allClassesLink.style.display = "block";
|
||
|
}
|
||
|
else {
|
||
|
allClassesLink.style.display = "none";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="subNavList">
|
||
|
<li>Summary: </li>
|
||
|
<li>Nested | </li>
|
||
|
<li>Field | </li>
|
||
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
||
|
<li><a href="#method_summary">Method</a></li>
|
||
|
</ul>
|
||
|
<ul class="subNavList">
|
||
|
<li>Detail: </li>
|
||
|
<li>Field | </li>
|
||
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
||
|
<li><a href="#method_detail">Method</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<a name="skip-navbar_top">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||
|
<div class="header">
|
||
|
<div class="subTitle">org.apache.http.impl.client</div>
|
||
|
<h2 title="Class HttpClientBuilder" class="title">Class HttpClientBuilder</h2>
|
||
|
</div>
|
||
|
<div class="contentContainer">
|
||
|
<ul class="inheritance">
|
||
|
<li><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||
|
<li>
|
||
|
<ul class="inheritance">
|
||
|
<li>org.apache.http.impl.client.HttpClientBuilder</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<div class="description">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<dl>
|
||
|
<dt>Direct Known Subclasses:</dt>
|
||
|
<dd><a href="../../../../../org/apache/http/impl/client/cache/CachingHttpClientBuilder.html" title="class in org.apache.http.impl.client.cache">CachingHttpClientBuilder</a></dd>
|
||
|
</dl>
|
||
|
<hr>
|
||
|
<br>
|
||
|
<pre>public class <span class="strong">HttpClientBuilder</span>
|
||
|
extends <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||
|
<div class="block">Builder for <a href="../../../../../org/apache/http/impl/client/CloseableHttpClient.html" title="class in org.apache.http.impl.client"><code>CloseableHttpClient</code></a> instances.
|
||
|
<p>
|
||
|
When a particular component is not explicitly set this class will
|
||
|
use its default implementation. System properties will be taken
|
||
|
into account when configuring the default implementations when
|
||
|
<a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#useSystemProperties()"><code>useSystemProperties()</code></a> method is called prior to calling
|
||
|
<a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#build()"><code>build()</code></a>.
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>ssl.TrustManagerFactory.algorithm</li>
|
||
|
<li>javax.net.ssl.trustStoreType</li>
|
||
|
<li>javax.net.ssl.trustStore</li>
|
||
|
<li>javax.net.ssl.trustStoreProvider</li>
|
||
|
<li>javax.net.ssl.trustStorePassword</li>
|
||
|
<li>ssl.KeyManagerFactory.algorithm</li>
|
||
|
<li>javax.net.ssl.keyStoreType</li>
|
||
|
<li>javax.net.ssl.keyStore</li>
|
||
|
<li>javax.net.ssl.keyStoreProvider</li>
|
||
|
<li>javax.net.ssl.keyStorePassword</li>
|
||
|
<li>https.protocols</li>
|
||
|
<li>https.cipherSuites</li>
|
||
|
<li>http.proxyHost</li>
|
||
|
<li>http.proxyPort</li>
|
||
|
<li>https.proxyHost</li>
|
||
|
<li>https.proxyPort</li>
|
||
|
<li>http.nonProxyHosts</li>
|
||
|
<li>https.proxyUser</li>
|
||
|
<li>http.proxyUser</li>
|
||
|
<li>https.proxyPassword</li>
|
||
|
<li>http.proxyPassword</li>
|
||
|
<li>http.keepAlive</li>
|
||
|
<li>http.maxConnections</li>
|
||
|
<li>http.agent</li>
|
||
|
</ul>
|
||
|
<p>
|
||
|
Please note that some settings used by this class can be mutually
|
||
|
exclusive and may not apply when building <a href="../../../../../org/apache/http/impl/client/CloseableHttpClient.html" title="class in org.apache.http.impl.client"><code>CloseableHttpClient</code></a>
|
||
|
instances.
|
||
|
</p></div>
|
||
|
<dl><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.3</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="summary">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="constructor_summary">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Constructor Summary</h3>
|
||
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||
|
<tr>
|
||
|
<th class="colFirst" scope="col">Modifier</th>
|
||
|
<th class="colLast" scope="col">Constructor and Description</th>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>protected </code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#HttpClientBuilder()">HttpClientBuilder</a></strong>()</code> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="method_summary">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Method Summary</h3>
|
||
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
||
|
<tr>
|
||
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
||
|
<th class="colLast" scope="col">Method and Description</th>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>protected void</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#addCloseable(java.io.Closeable)">addCloseable</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> closeable)</code>
|
||
|
<div class="block">For internal use.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#addInterceptorFirst(org.apache.http.HttpRequestInterceptor)">addInterceptorFirst</a></strong>(org.apache.http.HttpRequestInterceptor itcp)</code>
|
||
|
<div class="block">Adds this protocol interceptor to the head of the protocol processing list.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#addInterceptorFirst(org.apache.http.HttpResponseInterceptor)">addInterceptorFirst</a></strong>(org.apache.http.HttpResponseInterceptor itcp)</code>
|
||
|
<div class="block">Adds this protocol interceptor to the head of the protocol processing list.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#addInterceptorLast(org.apache.http.HttpRequestInterceptor)">addInterceptorLast</a></strong>(org.apache.http.HttpRequestInterceptor itcp)</code>
|
||
|
<div class="block">Adds this protocol interceptor to the tail of the protocol processing list.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#addInterceptorLast(org.apache.http.HttpResponseInterceptor)">addInterceptorLast</a></strong>(org.apache.http.HttpResponseInterceptor itcp)</code>
|
||
|
<div class="block">Adds this protocol interceptor to the tail of the protocol processing list.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/CloseableHttpClient.html" title="class in org.apache.http.impl.client">CloseableHttpClient</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#build()">build</a></strong>()</code> </td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>static <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#create()">create</a></strong>()</code> </td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#createMainExec(org.apache.http.protocol.HttpRequestExecutor,%20org.apache.http.conn.HttpClientConnectionManager,%20org.apache.http.ConnectionReuseStrategy,%20org.apache.http.conn.ConnectionKeepAliveStrategy,%20org.apache.http.protocol.HttpProcessor,%20org.apache.http.client.AuthenticationStrategy,%20org.apache.http.client.AuthenticationStrategy,%20org.apache.http.client.UserTokenHandler)">createMainExec</a></strong>(org.apache.http.protocol.HttpRequestExecutor requestExec,
|
||
|
<a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html" title="interface in org.apache.http.conn">HttpClientConnectionManager</a> connManager,
|
||
|
org.apache.http.ConnectionReuseStrategy reuseStrategy,
|
||
|
<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a> keepAliveStrategy,
|
||
|
org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
|
||
|
<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> targetAuthStrategy,
|
||
|
<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> proxyAuthStrategy,
|
||
|
<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a> userTokenHandler)</code>
|
||
|
<div class="block">Produces an instance of <a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain"><code>ClientExecChain</code></a> to be used as a main exec.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#decorateMainExec(org.apache.http.impl.execchain.ClientExecChain)">decorateMainExec</a></strong>(<a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a> mainExec)</code>
|
||
|
<div class="block">For internal use.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#decorateProtocolExec(org.apache.http.impl.execchain.ClientExecChain)">decorateProtocolExec</a></strong>(<a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a> protocolExec)</code>
|
||
|
<div class="block">For internal use.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableAuthCaching()">disableAuthCaching</a></strong>()</code>
|
||
|
<div class="block">Disables authentication scheme caching.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableAutomaticRetries()">disableAutomaticRetries</a></strong>()</code>
|
||
|
<div class="block">Disables automatic request recovery and re-execution.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableConnectionState()">disableConnectionState</a></strong>()</code>
|
||
|
<div class="block">Disables connection state tracking.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableContentCompression()">disableContentCompression</a></strong>()</code>
|
||
|
<div class="block">Disables automatic content decompression.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableCookieManagement()">disableCookieManagement</a></strong>()</code>
|
||
|
<div class="block">Disables state (cookie) management.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableDefaultUserAgent()">disableDefaultUserAgent</a></strong>()</code>
|
||
|
<div class="block">Disables the default user agent set by this builder if none has been provided by the user.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableRedirectHandling()">disableRedirectHandling</a></strong>()</code>
|
||
|
<div class="block">Disables automatic redirect handling.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#evictExpiredConnections()">evictExpiredConnections</a></strong>()</code>
|
||
|
<div class="block">Makes this instance of HttpClient proactively evict expired connections from the
|
||
|
connection pool using a background thread.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#evictIdleConnections(long,%20java.util.concurrent.TimeUnit)">evictIdleConnections</a></strong>(long maxIdleTime,
|
||
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> maxIdleTimeUnit)</code>
|
||
|
<div class="block">Makes this instance of HttpClient proactively evict idle connections from the
|
||
|
connection pool using a background thread.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#evictIdleConnections(java.lang.Long,%20java.util.concurrent.TimeUnit)">evictIdleConnections</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> maxIdleTime,
|
||
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> maxIdleTimeUnit)</code>
|
||
|
<div class="block"><strong>Deprecated.</strong>
|
||
|
<div class="block"><i>(4.5) use <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#evictIdleConnections(long,%20java.util.concurrent.TimeUnit)"><code>evictIdleConnections(long, TimeUnit)</code></a></i></div>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setBackoffManager(org.apache.http.client.BackoffManager)">setBackoffManager</a></strong>(<a href="../../../../../org/apache/http/client/BackoffManager.html" title="interface in org.apache.http.client">BackoffManager</a> backoffManager)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/BackoffManager.html" title="interface in org.apache.http.client"><code>BackoffManager</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionBackoffStrategy(org.apache.http.client.ConnectionBackoffStrategy)">setConnectionBackoffStrategy</a></strong>(<a href="../../../../../org/apache/http/client/ConnectionBackoffStrategy.html" title="interface in org.apache.http.client">ConnectionBackoffStrategy</a> connectionBackoffStrategy)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/ConnectionBackoffStrategy.html" title="interface in org.apache.http.client"><code>ConnectionBackoffStrategy</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)">setConnectionManager</a></strong>(<a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html" title="interface in org.apache.http.conn">HttpClientConnectionManager</a> connManager)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html" title="interface in org.apache.http.conn"><code>HttpClientConnectionManager</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManagerShared(boolean)">setConnectionManagerShared</a></strong>(boolean shared)</code>
|
||
|
<div class="block">Defines the connection manager is to be shared by multiple
|
||
|
client instances.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionReuseStrategy(org.apache.http.ConnectionReuseStrategy)">setConnectionReuseStrategy</a></strong>(org.apache.http.ConnectionReuseStrategy reuseStrategy)</code>
|
||
|
<div class="block">Assigns <code>ConnectionReuseStrategy</code> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionTimeToLive(long,%20java.util.concurrent.TimeUnit)">setConnectionTimeToLive</a></strong>(long connTimeToLive,
|
||
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> connTimeToLiveTimeUnit)</code>
|
||
|
<div class="block">Sets maximum time to live for persistent connections</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setContentDecoderRegistry(java.util.Map)">setContentDecoderRegistry</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/http/client/entity/InputStreamFactory.html" title="interface in org.apache.http.client.entity">InputStreamFactory</a>> contentDecoderMap)</code>
|
||
|
<div class="block">Assigns a map of <a href="../../../../../org/apache/http/client/entity/InputStreamFactory.html" title="interface in org.apache.http.client.entity"><code>InputStreamFactory</code></a>s
|
||
|
to be used for automatic content decompression.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDefaultAuthSchemeRegistry(org.apache.http.config.Lookup)">setDefaultAuthSchemeRegistry</a></strong>(org.apache.http.config.Lookup<<a href="../../../../../org/apache/http/auth/AuthSchemeProvider.html" title="interface in org.apache.http.auth">AuthSchemeProvider</a>> authSchemeRegistry)</code>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/auth/AuthScheme.html" title="interface in org.apache.http.auth"><code>AuthScheme</code></a> registry which will
|
||
|
be used for request execution if not explicitly set in the client execution
|
||
|
context.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig)">setDefaultConnectionConfig</a></strong>(org.apache.http.config.ConnectionConfig config)</code>
|
||
|
<div class="block">Assigns default <code>ConnectionConfig</code>.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDefaultCookieSpecRegistry(org.apache.http.config.Lookup)">setDefaultCookieSpecRegistry</a></strong>(org.apache.http.config.Lookup<<a href="../../../../../org/apache/http/cookie/CookieSpecProvider.html" title="interface in org.apache.http.cookie">CookieSpecProvider</a>> cookieSpecRegistry)</code>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/cookie/CookieSpec.html" title="interface in org.apache.http.cookie"><code>CookieSpec</code></a> registry which will
|
||
|
be used for request execution if not explicitly set in the client execution
|
||
|
context.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDefaultCookieStore(org.apache.http.client.CookieStore)">setDefaultCookieStore</a></strong>(<a href="../../../../../org/apache/http/client/CookieStore.html" title="interface in org.apache.http.client">CookieStore</a> cookieStore)</code>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/client/CookieStore.html" title="interface in org.apache.http.client"><code>CookieStore</code></a> instance which will be used for
|
||
|
request execution if not explicitly set in the client execution context.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDefaultCredentialsProvider(org.apache.http.client.CredentialsProvider)">setDefaultCredentialsProvider</a></strong>(<a href="../../../../../org/apache/http/client/CredentialsProvider.html" title="interface in org.apache.http.client">CredentialsProvider</a> credentialsProvider)</code>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/client/CredentialsProvider.html" title="interface in org.apache.http.client"><code>CredentialsProvider</code></a> instance which will be used
|
||
|
for request execution if not explicitly set in the client execution
|
||
|
context.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDefaultHeaders(java.util.Collection)">setDefaultHeaders</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends org.apache.http.Header> defaultHeaders)</code>
|
||
|
<div class="block">Assigns default request header values.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDefaultRequestConfig(org.apache.http.client.config.RequestConfig)">setDefaultRequestConfig</a></strong>(<a href="../../../../../org/apache/http/client/config/RequestConfig.html" title="class in org.apache.http.client.config">RequestConfig</a> config)</code>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/client/config/RequestConfig.html" title="class in org.apache.http.client.config"><code>RequestConfig</code></a> instance which will be used
|
||
|
for request execution if not explicitly set in the client execution
|
||
|
context.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDefaultSocketConfig(org.apache.http.config.SocketConfig)">setDefaultSocketConfig</a></strong>(org.apache.http.config.SocketConfig config)</code>
|
||
|
<div class="block">Assigns default <code>SocketConfig</code>.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setDnsResolver(org.apache.http.conn.DnsResolver)">setDnsResolver</a></strong>(<a href="../../../../../org/apache/http/conn/DnsResolver.html" title="interface in org.apache.http.conn">DnsResolver</a> dnsResolver)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/DnsResolver.html" title="interface in org.apache.http.conn"><code>DnsResolver</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHostnameVerifier(org.apache.http.conn.ssl.X509HostnameVerifier)">setHostnameVerifier</a></strong>(<a href="../../../../../org/apache/http/conn/ssl/X509HostnameVerifier.html" title="interface in org.apache.http.conn.ssl">X509HostnameVerifier</a> hostnameVerifier)</code>
|
||
|
<div class="block"><strong>Deprecated.</strong>
|
||
|
<div class="block"><i>(4.4)</i></div>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)">setHttpProcessor</a></strong>(org.apache.http.protocol.HttpProcessor httpprocessor)</code>
|
||
|
<div class="block">Assigns <code>HttpProcessor</code> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setKeepAliveStrategy(org.apache.http.conn.ConnectionKeepAliveStrategy)">setKeepAliveStrategy</a></strong>(<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a> keepAliveStrategy)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn"><code>ConnectionKeepAliveStrategy</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setMaxConnPerRoute(int)">setMaxConnPerRoute</a></strong>(int maxConnPerRoute)</code>
|
||
|
<div class="block">Assigns maximum connection per route value.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setMaxConnTotal(int)">setMaxConnTotal</a></strong>(int maxConnTotal)</code>
|
||
|
<div class="block">Assigns maximum total connection value.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setProxy(org.apache.http.HttpHost)">setProxy</a></strong>(org.apache.http.HttpHost proxy)</code>
|
||
|
<div class="block">Assigns default proxy value.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setProxyAuthenticationStrategy(org.apache.http.client.AuthenticationStrategy)">setProxyAuthenticationStrategy</a></strong>(<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> proxyAuthStrategy)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client"><code>AuthenticationStrategy</code></a> instance for proxy
|
||
|
authentication.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setPublicSuffixMatcher(org.apache.http.conn.util.PublicSuffixMatcher)">setPublicSuffixMatcher</a></strong>(<a href="../../../../../org/apache/http/conn/util/PublicSuffixMatcher.html" title="class in org.apache.http.conn.util">PublicSuffixMatcher</a> publicSuffixMatcher)</code>
|
||
|
<div class="block">Assigns file containing public suffix matcher.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setRedirectStrategy(org.apache.http.client.RedirectStrategy)">setRedirectStrategy</a></strong>(<a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client">RedirectStrategy</a> redirectStrategy)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client"><code>RedirectStrategy</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setRequestExecutor(org.apache.http.protocol.HttpRequestExecutor)">setRequestExecutor</a></strong>(org.apache.http.protocol.HttpRequestExecutor requestExec)</code>
|
||
|
<div class="block">Assigns <code>HttpRequestExecutor</code> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setRetryHandler(org.apache.http.client.HttpRequestRetryHandler)">setRetryHandler</a></strong>(<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a> retryHandler)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client"><code>HttpRequestRetryHandler</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setRoutePlanner(org.apache.http.conn.routing.HttpRoutePlanner)">setRoutePlanner</a></strong>(<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a> routePlanner)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing"><code>HttpRoutePlanner</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSchemePortResolver(org.apache.http.conn.SchemePortResolver)">setSchemePortResolver</a></strong>(<a href="../../../../../org/apache/http/conn/SchemePortResolver.html" title="interface in org.apache.http.conn">SchemePortResolver</a> schemePortResolver)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/SchemePortResolver.html" title="interface in org.apache.http.conn"><code>SchemePortResolver</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setServiceUnavailableRetryStrategy(org.apache.http.client.ServiceUnavailableRetryStrategy)">setServiceUnavailableRetryStrategy</a></strong>(<a href="../../../../../org/apache/http/client/ServiceUnavailableRetryStrategy.html" title="interface in org.apache.http.client">ServiceUnavailableRetryStrategy</a> serviceUnavailStrategy)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/ServiceUnavailableRetryStrategy.html" title="interface in org.apache.http.client"><code>ServiceUnavailableRetryStrategy</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSslcontext(javax.net.ssl.SSLContext)">setSslcontext</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a> sslcontext)</code>
|
||
|
<div class="block"><strong>Deprecated.</strong>
|
||
|
<div class="block"><i>(4.5) use <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLContext(javax.net.ssl.SSLContext)"><code>setSSLContext(SSLContext)</code></a></i></div>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLContext(javax.net.ssl.SSLContext)">setSSLContext</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a> sslContext)</code>
|
||
|
<div class="block">Assigns <a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl"><code>SSLContext</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLHostnameVerifier(javax.net.ssl.HostnameVerifier)">setSSLHostnameVerifier</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a> hostnameVerifier)</code>
|
||
|
<div class="block">Assigns <a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl"><code>HostnameVerifier</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLSocketFactory(org.apache.http.conn.socket.LayeredConnectionSocketFactory)">setSSLSocketFactory</a></strong>(<a href="../../../../../org/apache/http/conn/socket/LayeredConnectionSocketFactory.html" title="interface in org.apache.http.conn.socket">LayeredConnectionSocketFactory</a> sslSocketFactory)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/socket/LayeredConnectionSocketFactory.html" title="interface in org.apache.http.conn.socket"><code>LayeredConnectionSocketFactory</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setTargetAuthenticationStrategy(org.apache.http.client.AuthenticationStrategy)">setTargetAuthenticationStrategy</a></strong>(<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> targetAuthStrategy)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client"><code>AuthenticationStrategy</code></a> instance for target
|
||
|
host authentication.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setUserAgent(java.lang.String)">setUserAgent</a></strong>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userAgent)</code>
|
||
|
<div class="block">Assigns <code>User-Agent</code> value.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setUserTokenHandler(org.apache.http.client.UserTokenHandler)">setUserTokenHandler</a></strong>(<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a> userTokenHandler)</code>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client"><code>UserTokenHandler</code></a> instance.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a></code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#useSystemProperties()">useSystemProperties</a></strong>()</code>
|
||
|
<div class="block">Use system properties when creating and configuring default
|
||
|
implementations.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||
|
<code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="details">
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="constructor_detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Constructor Detail</h3>
|
||
|
<a name="HttpClientBuilder()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>HttpClientBuilder</h4>
|
||
|
<pre>protected HttpClientBuilder()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- ============ METHOD DETAIL ========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="method_detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Method Detail</h3>
|
||
|
<a name="create()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>create</h4>
|
||
|
<pre>public static <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> create()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setRequestExecutor(org.apache.http.protocol.HttpRequestExecutor)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setRequestExecutor</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setRequestExecutor(org.apache.http.protocol.HttpRequestExecutor requestExec)</pre>
|
||
|
<div class="block">Assigns <code>HttpRequestExecutor</code> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setHostnameVerifier(org.apache.http.conn.ssl.X509HostnameVerifier)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setHostnameVerifier</h4>
|
||
|
<pre><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||
|
public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setHostnameVerifier(<a href="../../../../../org/apache/http/conn/ssl/X509HostnameVerifier.html" title="interface in org.apache.http.conn.ssl">X509HostnameVerifier</a> hostnameVerifier)</pre>
|
||
|
<div class="block"><span class="strong">Deprecated.</span> <i>(4.4)</i></div>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/ssl/X509HostnameVerifier.html" title="interface in org.apache.http.conn.ssl"><code>X509HostnameVerifier</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> and the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLSocketFactory(org.apache.http.conn.socket.LayeredConnectionSocketFactory)"><code>setSSLSocketFactory(
|
||
|
org.apache.http.conn.socket.LayeredConnectionSocketFactory)</code></a> methods.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setSSLHostnameVerifier(javax.net.ssl.HostnameVerifier)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setSSLHostnameVerifier</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setSSLHostnameVerifier(<a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl">HostnameVerifier</a> hostnameVerifier)</pre>
|
||
|
<div class="block">Assigns <a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/HostnameVerifier.html?is-external=true" title="class or interface in javax.net.ssl"><code>HostnameVerifier</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> and the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLSocketFactory(org.apache.http.conn.socket.LayeredConnectionSocketFactory)"><code>setSSLSocketFactory(
|
||
|
org.apache.http.conn.socket.LayeredConnectionSocketFactory)</code></a> methods.
|
||
|
</p></div>
|
||
|
<dl><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.4</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setPublicSuffixMatcher(org.apache.http.conn.util.PublicSuffixMatcher)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setPublicSuffixMatcher</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setPublicSuffixMatcher(<a href="../../../../../org/apache/http/conn/util/PublicSuffixMatcher.html" title="class in org.apache.http.conn.util">PublicSuffixMatcher</a> publicSuffixMatcher)</pre>
|
||
|
<div class="block">Assigns file containing public suffix matcher. Instances of this class can be created
|
||
|
with <a href="../../../../../org/apache/http/conn/util/PublicSuffixMatcherLoader.html" title="class in org.apache.http.conn.util"><code>PublicSuffixMatcherLoader</code></a>.</div>
|
||
|
<dl><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.4</dd>
|
||
|
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/http/conn/util/PublicSuffixMatcher.html" title="class in org.apache.http.conn.util"><code>PublicSuffixMatcher</code></a>,
|
||
|
<a href="../../../../../org/apache/http/conn/util/PublicSuffixMatcherLoader.html" title="class in org.apache.http.conn.util"><code>PublicSuffixMatcherLoader</code></a></dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setSslcontext(javax.net.ssl.SSLContext)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setSslcontext</h4>
|
||
|
<pre><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||
|
public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setSslcontext(<a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a> sslcontext)</pre>
|
||
|
<div class="block"><span class="strong">Deprecated.</span> <i>(4.5) use <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLContext(javax.net.ssl.SSLContext)"><code>setSSLContext(SSLContext)</code></a></i></div>
|
||
|
<div class="block">Assigns <a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl"><code>SSLContext</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> and the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLSocketFactory(org.apache.http.conn.socket.LayeredConnectionSocketFactory)"><code>setSSLSocketFactory(
|
||
|
org.apache.http.conn.socket.LayeredConnectionSocketFactory)</code></a> methods.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setSSLContext(javax.net.ssl.SSLContext)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setSSLContext</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setSSLContext(<a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a> sslContext)</pre>
|
||
|
<div class="block">Assigns <a href="https://docs.oracle.com/javase/6/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl"><code>SSLContext</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> and the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setSSLSocketFactory(org.apache.http.conn.socket.LayeredConnectionSocketFactory)"><code>setSSLSocketFactory(
|
||
|
org.apache.http.conn.socket.LayeredConnectionSocketFactory)</code></a> methods.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setSSLSocketFactory(org.apache.http.conn.socket.LayeredConnectionSocketFactory)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setSSLSocketFactory</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setSSLSocketFactory(<a href="../../../../../org/apache/http/conn/socket/LayeredConnectionSocketFactory.html" title="interface in org.apache.http.conn.socket">LayeredConnectionSocketFactory</a> sslSocketFactory)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/socket/LayeredConnectionSocketFactory.html" title="interface in org.apache.http.conn.socket"><code>LayeredConnectionSocketFactory</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setMaxConnTotal(int)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setMaxConnTotal</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setMaxConnTotal(int maxConnTotal)</pre>
|
||
|
<div class="block">Assigns maximum total connection value.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setMaxConnPerRoute(int)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setMaxConnPerRoute</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setMaxConnPerRoute(int maxConnPerRoute)</pre>
|
||
|
<div class="block">Assigns maximum connection per route value.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDefaultSocketConfig(org.apache.http.config.SocketConfig)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDefaultSocketConfig</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDefaultSocketConfig(org.apache.http.config.SocketConfig config)</pre>
|
||
|
<div class="block">Assigns default <code>SocketConfig</code>.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDefaultConnectionConfig</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDefaultConnectionConfig(org.apache.http.config.ConnectionConfig config)</pre>
|
||
|
<div class="block">Assigns default <code>ConnectionConfig</code>.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setConnectionTimeToLive(long, java.util.concurrent.TimeUnit)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setConnectionTimeToLive</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setConnectionTimeToLive(long connTimeToLive,
|
||
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> connTimeToLiveTimeUnit)</pre>
|
||
|
<div class="block">Sets maximum time to live for persistent connections
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(
|
||
|
org.apache.http.conn.HttpClientConnectionManager)</code></a> method.
|
||
|
</p></div>
|
||
|
<dl><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.4</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setConnectionManager</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setConnectionManager(<a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html" title="interface in org.apache.http.conn">HttpClientConnectionManager</a> connManager)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html" title="interface in org.apache.http.conn"><code>HttpClientConnectionManager</code></a> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setConnectionManagerShared(boolean)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setConnectionManagerShared</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setConnectionManagerShared(boolean shared)</pre>
|
||
|
<div class="block">Defines the connection manager is to be shared by multiple
|
||
|
client instances.
|
||
|
<p>
|
||
|
If the connection manager is shared its life-cycle is expected
|
||
|
to be managed by the caller and it will not be shut down
|
||
|
if the client is closed.
|
||
|
</p></div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>shared</code> - defines whether or not the connection manager can be shared
|
||
|
by multiple clients.</dd><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.4</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setConnectionReuseStrategy(org.apache.http.ConnectionReuseStrategy)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setConnectionReuseStrategy</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setConnectionReuseStrategy(org.apache.http.ConnectionReuseStrategy reuseStrategy)</pre>
|
||
|
<div class="block">Assigns <code>ConnectionReuseStrategy</code> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setKeepAliveStrategy(org.apache.http.conn.ConnectionKeepAliveStrategy)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setKeepAliveStrategy</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setKeepAliveStrategy(<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a> keepAliveStrategy)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn"><code>ConnectionKeepAliveStrategy</code></a> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setTargetAuthenticationStrategy(org.apache.http.client.AuthenticationStrategy)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setTargetAuthenticationStrategy</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setTargetAuthenticationStrategy(<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> targetAuthStrategy)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client"><code>AuthenticationStrategy</code></a> instance for target
|
||
|
host authentication.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setProxyAuthenticationStrategy(org.apache.http.client.AuthenticationStrategy)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setProxyAuthenticationStrategy</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setProxyAuthenticationStrategy(<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> proxyAuthStrategy)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client"><code>AuthenticationStrategy</code></a> instance for proxy
|
||
|
authentication.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setUserTokenHandler(org.apache.http.client.UserTokenHandler)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setUserTokenHandler</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setUserTokenHandler(<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a> userTokenHandler)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client"><code>UserTokenHandler</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableConnectionState()"><code>disableConnectionState()</code></a>
|
||
|
method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="disableConnectionState()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>disableConnectionState</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> disableConnectionState()</pre>
|
||
|
<div class="block">Disables connection state tracking.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setSchemePortResolver(org.apache.http.conn.SchemePortResolver)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setSchemePortResolver</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setSchemePortResolver(<a href="../../../../../org/apache/http/conn/SchemePortResolver.html" title="interface in org.apache.http.conn">SchemePortResolver</a> schemePortResolver)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/SchemePortResolver.html" title="interface in org.apache.http.conn"><code>SchemePortResolver</code></a> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setUserAgent(java.lang.String)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setUserAgent</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setUserAgent(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userAgent)</pre>
|
||
|
<div class="block">Assigns <code>User-Agent</code> value.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDefaultHeaders(java.util.Collection)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDefaultHeaders</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDefaultHeaders(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends org.apache.http.Header> defaultHeaders)</pre>
|
||
|
<div class="block">Assigns default request header values.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="addInterceptorFirst(org.apache.http.HttpResponseInterceptor)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>addInterceptorFirst</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> addInterceptorFirst(org.apache.http.HttpResponseInterceptor itcp)</pre>
|
||
|
<div class="block">Adds this protocol interceptor to the head of the protocol processing list.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="addInterceptorLast(org.apache.http.HttpResponseInterceptor)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>addInterceptorLast</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> addInterceptorLast(org.apache.http.HttpResponseInterceptor itcp)</pre>
|
||
|
<div class="block">Adds this protocol interceptor to the tail of the protocol processing list.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.
|
||
|
</p></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="addInterceptorFirst(org.apache.http.HttpRequestInterceptor)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>addInterceptorFirst</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> addInterceptorFirst(org.apache.http.HttpRequestInterceptor itcp)</pre>
|
||
|
<div class="block">Adds this protocol interceptor to the head of the protocol processing list.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="addInterceptorLast(org.apache.http.HttpRequestInterceptor)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>addInterceptorLast</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> addInterceptorLast(org.apache.http.HttpRequestInterceptor itcp)</pre>
|
||
|
<div class="block">Adds this protocol interceptor to the tail of the protocol processing list.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="disableCookieManagement()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>disableCookieManagement</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> disableCookieManagement()</pre>
|
||
|
<div class="block">Disables state (cookie) management.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="disableContentCompression()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>disableContentCompression</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> disableContentCompression()</pre>
|
||
|
<div class="block">Disables automatic content decompression.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="disableAuthCaching()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>disableAuthCaching</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> disableAuthCaching()</pre>
|
||
|
<div class="block">Disables authentication scheme caching.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setHttpProcessor(org.apache.http.protocol.HttpProcessor)"><code>setHttpProcessor(
|
||
|
org.apache.http.protocol.HttpProcessor)</code></a> method.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setHttpProcessor(org.apache.http.protocol.HttpProcessor)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setHttpProcessor</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setHttpProcessor(org.apache.http.protocol.HttpProcessor httpprocessor)</pre>
|
||
|
<div class="block">Assigns <code>HttpProcessor</code> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDnsResolver(org.apache.http.conn.DnsResolver)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDnsResolver</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDnsResolver(<a href="../../../../../org/apache/http/conn/DnsResolver.html" title="interface in org.apache.http.conn">DnsResolver</a> dnsResolver)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/DnsResolver.html" title="interface in org.apache.http.conn"><code>DnsResolver</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManager(org.apache.http.conn.HttpClientConnectionManager)"><code>setConnectionManager(HttpClientConnectionManager)</code></a> method.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setRetryHandler(org.apache.http.client.HttpRequestRetryHandler)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setRetryHandler</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setRetryHandler(<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a> retryHandler)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client"><code>HttpRequestRetryHandler</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableAutomaticRetries()"><code>disableAutomaticRetries()</code></a>
|
||
|
method.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="disableAutomaticRetries()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>disableAutomaticRetries</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> disableAutomaticRetries()</pre>
|
||
|
<div class="block">Disables automatic request recovery and re-execution.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setProxy(org.apache.http.HttpHost)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setProxy</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setProxy(org.apache.http.HttpHost proxy)</pre>
|
||
|
<div class="block">Assigns default proxy value.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setRoutePlanner(org.apache.http.conn.routing.HttpRoutePlanner)"><code>setRoutePlanner(
|
||
|
org.apache.http.conn.routing.HttpRoutePlanner)</code></a> method.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setRoutePlanner(org.apache.http.conn.routing.HttpRoutePlanner)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setRoutePlanner</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setRoutePlanner(<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a> routePlanner)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing"><code>HttpRoutePlanner</code></a> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setRedirectStrategy(org.apache.http.client.RedirectStrategy)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setRedirectStrategy</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setRedirectStrategy(<a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client">RedirectStrategy</a> redirectStrategy)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client"><code>RedirectStrategy</code></a> instance.
|
||
|
<p>
|
||
|
Please note this value can be overridden by the <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#disableRedirectHandling()"><code>disableRedirectHandling()</code></a>
|
||
|
method.
|
||
|
</p>
|
||
|
`</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="disableRedirectHandling()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>disableRedirectHandling</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> disableRedirectHandling()</pre>
|
||
|
<div class="block">Disables automatic redirect handling.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setConnectionBackoffStrategy(org.apache.http.client.ConnectionBackoffStrategy)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setConnectionBackoffStrategy</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setConnectionBackoffStrategy(<a href="../../../../../org/apache/http/client/ConnectionBackoffStrategy.html" title="interface in org.apache.http.client">ConnectionBackoffStrategy</a> connectionBackoffStrategy)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/ConnectionBackoffStrategy.html" title="interface in org.apache.http.client"><code>ConnectionBackoffStrategy</code></a> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setBackoffManager(org.apache.http.client.BackoffManager)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setBackoffManager</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setBackoffManager(<a href="../../../../../org/apache/http/client/BackoffManager.html" title="interface in org.apache.http.client">BackoffManager</a> backoffManager)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/BackoffManager.html" title="interface in org.apache.http.client"><code>BackoffManager</code></a> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setServiceUnavailableRetryStrategy(org.apache.http.client.ServiceUnavailableRetryStrategy)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setServiceUnavailableRetryStrategy</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setServiceUnavailableRetryStrategy(<a href="../../../../../org/apache/http/client/ServiceUnavailableRetryStrategy.html" title="interface in org.apache.http.client">ServiceUnavailableRetryStrategy</a> serviceUnavailStrategy)</pre>
|
||
|
<div class="block">Assigns <a href="../../../../../org/apache/http/client/ServiceUnavailableRetryStrategy.html" title="interface in org.apache.http.client"><code>ServiceUnavailableRetryStrategy</code></a> instance.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDefaultCookieStore(org.apache.http.client.CookieStore)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDefaultCookieStore</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDefaultCookieStore(<a href="../../../../../org/apache/http/client/CookieStore.html" title="interface in org.apache.http.client">CookieStore</a> cookieStore)</pre>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/client/CookieStore.html" title="interface in org.apache.http.client"><code>CookieStore</code></a> instance which will be used for
|
||
|
request execution if not explicitly set in the client execution context.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDefaultCredentialsProvider(org.apache.http.client.CredentialsProvider)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDefaultCredentialsProvider</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDefaultCredentialsProvider(<a href="../../../../../org/apache/http/client/CredentialsProvider.html" title="interface in org.apache.http.client">CredentialsProvider</a> credentialsProvider)</pre>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/client/CredentialsProvider.html" title="interface in org.apache.http.client"><code>CredentialsProvider</code></a> instance which will be used
|
||
|
for request execution if not explicitly set in the client execution
|
||
|
context.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDefaultAuthSchemeRegistry(org.apache.http.config.Lookup)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDefaultAuthSchemeRegistry</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDefaultAuthSchemeRegistry(org.apache.http.config.Lookup<<a href="../../../../../org/apache/http/auth/AuthSchemeProvider.html" title="interface in org.apache.http.auth">AuthSchemeProvider</a>> authSchemeRegistry)</pre>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/auth/AuthScheme.html" title="interface in org.apache.http.auth"><code>AuthScheme</code></a> registry which will
|
||
|
be used for request execution if not explicitly set in the client execution
|
||
|
context.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDefaultCookieSpecRegistry(org.apache.http.config.Lookup)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDefaultCookieSpecRegistry</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDefaultCookieSpecRegistry(org.apache.http.config.Lookup<<a href="../../../../../org/apache/http/cookie/CookieSpecProvider.html" title="interface in org.apache.http.cookie">CookieSpecProvider</a>> cookieSpecRegistry)</pre>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/cookie/CookieSpec.html" title="interface in org.apache.http.cookie"><code>CookieSpec</code></a> registry which will
|
||
|
be used for request execution if not explicitly set in the client execution
|
||
|
context.</div>
|
||
|
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/http/impl/client/CookieSpecRegistries.html" title="class in org.apache.http.impl.client"><code>CookieSpecRegistries</code></a></dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setContentDecoderRegistry(java.util.Map)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setContentDecoderRegistry</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setContentDecoderRegistry(<a href="https://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/http/client/entity/InputStreamFactory.html" title="interface in org.apache.http.client.entity">InputStreamFactory</a>> contentDecoderMap)</pre>
|
||
|
<div class="block">Assigns a map of <a href="../../../../../org/apache/http/client/entity/InputStreamFactory.html" title="interface in org.apache.http.client.entity"><code>InputStreamFactory</code></a>s
|
||
|
to be used for automatic content decompression.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="setDefaultRequestConfig(org.apache.http.client.config.RequestConfig)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>setDefaultRequestConfig</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> setDefaultRequestConfig(<a href="../../../../../org/apache/http/client/config/RequestConfig.html" title="class in org.apache.http.client.config">RequestConfig</a> config)</pre>
|
||
|
<div class="block">Assigns default <a href="../../../../../org/apache/http/client/config/RequestConfig.html" title="class in org.apache.http.client.config"><code>RequestConfig</code></a> instance which will be used
|
||
|
for request execution if not explicitly set in the client execution
|
||
|
context.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="useSystemProperties()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>useSystemProperties</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> useSystemProperties()</pre>
|
||
|
<div class="block">Use system properties when creating and configuring default
|
||
|
implementations.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="evictExpiredConnections()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>evictExpiredConnections</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> evictExpiredConnections()</pre>
|
||
|
<div class="block">Makes this instance of HttpClient proactively evict expired connections from the
|
||
|
connection pool using a background thread.
|
||
|
<p>
|
||
|
One MUST explicitly close HttpClient with <a href="https://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io"><code>Closeable.close()</code></a> in order
|
||
|
to stop and release the background thread.
|
||
|
<p>
|
||
|
Please note this method has no effect if the instance of HttpClient is configuted to
|
||
|
use a shared connection manager.
|
||
|
<p>
|
||
|
Please note this method may not be used when the instance of HttpClient is created
|
||
|
inside an EJB container.</div>
|
||
|
<dl><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.4</dd>
|
||
|
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManagerShared(boolean)"><code>setConnectionManagerShared(boolean)</code></a>,
|
||
|
<a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html#closeExpiredConnections()"><code>HttpClientConnectionManager.closeExpiredConnections()</code></a></dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="evictIdleConnections(java.lang.Long, java.util.concurrent.TimeUnit)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>evictIdleConnections</h4>
|
||
|
<pre><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||
|
public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> evictIdleConnections(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> maxIdleTime,
|
||
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> maxIdleTimeUnit)</pre>
|
||
|
<div class="block"><span class="strong">Deprecated.</span> <i>(4.5) use <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#evictIdleConnections(long,%20java.util.concurrent.TimeUnit)"><code>evictIdleConnections(long, TimeUnit)</code></a></i></div>
|
||
|
<div class="block">Makes this instance of HttpClient proactively evict idle connections from the
|
||
|
connection pool using a background thread.
|
||
|
<p>
|
||
|
One MUST explicitly close HttpClient with <a href="https://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io"><code>Closeable.close()</code></a> in order
|
||
|
to stop and release the background thread.
|
||
|
<p>
|
||
|
Please note this method has no effect if the instance of HttpClient is configuted to
|
||
|
use a shared connection manager.
|
||
|
<p>
|
||
|
Please note this method may not be used when the instance of HttpClient is created
|
||
|
inside an EJB container.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxIdleTime</code> - maximum time persistent connections can stay idle while kept alive
|
||
|
in the connection pool. Connections whose inactivity period exceeds this value will
|
||
|
get closed and evicted from the pool.</dd><dd><code>maxIdleTimeUnit</code> - time unit for the above parameter.</dd><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.4</dd>
|
||
|
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManagerShared(boolean)"><code>setConnectionManagerShared(boolean)</code></a>,
|
||
|
<a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html#closeExpiredConnections()"><code>HttpClientConnectionManager.closeExpiredConnections()</code></a></dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="evictIdleConnections(long, java.util.concurrent.TimeUnit)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>evictIdleConnections</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> evictIdleConnections(long maxIdleTime,
|
||
|
<a href="https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a> maxIdleTimeUnit)</pre>
|
||
|
<div class="block">Makes this instance of HttpClient proactively evict idle connections from the
|
||
|
connection pool using a background thread.
|
||
|
<p>
|
||
|
One MUST explicitly close HttpClient with <a href="https://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io"><code>Closeable.close()</code></a> in order
|
||
|
to stop and release the background thread.
|
||
|
<p>
|
||
|
Please note this method has no effect if the instance of HttpClient is configuted to
|
||
|
use a shared connection manager.
|
||
|
<p>
|
||
|
Please note this method may not be used when the instance of HttpClient is created
|
||
|
inside an EJB container.</div>
|
||
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxIdleTime</code> - maximum time persistent connections can stay idle while kept alive
|
||
|
in the connection pool. Connections whose inactivity period exceeds this value will
|
||
|
get closed and evicted from the pool.</dd><dd><code>maxIdleTimeUnit</code> - time unit for the above parameter.</dd><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.4</dd>
|
||
|
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html#setConnectionManagerShared(boolean)"><code>setConnectionManagerShared(boolean)</code></a>,
|
||
|
<a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html#closeExpiredConnections()"><code>HttpClientConnectionManager.closeExpiredConnections()</code></a></dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="disableDefaultUserAgent()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>disableDefaultUserAgent</h4>
|
||
|
<pre>public final <a href="../../../../../org/apache/http/impl/client/HttpClientBuilder.html" title="class in org.apache.http.impl.client">HttpClientBuilder</a> disableDefaultUserAgent()</pre>
|
||
|
<div class="block">Disables the default user agent set by this builder if none has been provided by the user.</div>
|
||
|
<dl><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.5.7</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="createMainExec(org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.HttpClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.protocol.HttpProcessor, org.apache.http.client.AuthenticationStrategy, org.apache.http.client.AuthenticationStrategy, org.apache.http.client.UserTokenHandler)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>createMainExec</h4>
|
||
|
<pre>protected <a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a> createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec,
|
||
|
<a href="../../../../../org/apache/http/conn/HttpClientConnectionManager.html" title="interface in org.apache.http.conn">HttpClientConnectionManager</a> connManager,
|
||
|
org.apache.http.ConnectionReuseStrategy reuseStrategy,
|
||
|
<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a> keepAliveStrategy,
|
||
|
org.apache.http.protocol.HttpProcessor proxyHttpProcessor,
|
||
|
<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> targetAuthStrategy,
|
||
|
<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> proxyAuthStrategy,
|
||
|
<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a> userTokenHandler)</pre>
|
||
|
<div class="block">Produces an instance of <a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain"><code>ClientExecChain</code></a> to be used as a main exec.
|
||
|
<p>
|
||
|
Default implementation produces an instance of <a href="../../../../../org/apache/http/impl/execchain/MainClientExec.html" title="class in org.apache.http.impl.execchain"><code>MainClientExec</code></a>
|
||
|
</p>
|
||
|
<p>
|
||
|
For internal use.
|
||
|
</p></div>
|
||
|
<dl><dt><span class="strong">Since:</span></dt>
|
||
|
<dd>4.4</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="decorateMainExec(org.apache.http.impl.execchain.ClientExecChain)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>decorateMainExec</h4>
|
||
|
<pre>protected <a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a> decorateMainExec(<a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a> mainExec)</pre>
|
||
|
<div class="block">For internal use.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="decorateProtocolExec(org.apache.http.impl.execchain.ClientExecChain)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>decorateProtocolExec</h4>
|
||
|
<pre>protected <a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a> decorateProtocolExec(<a href="../../../../../org/apache/http/impl/execchain/ClientExecChain.html" title="interface in org.apache.http.impl.execchain">ClientExecChain</a> protocolExec)</pre>
|
||
|
<div class="block">For internal use.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="addCloseable(java.io.Closeable)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>addCloseable</h4>
|
||
|
<pre>protected void addCloseable(<a href="https://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a> closeable)</pre>
|
||
|
<div class="block">For internal use.</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="build()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>build</h4>
|
||
|
<pre>public <a href="../../../../../org/apache/http/impl/client/CloseableHttpClient.html" title="class in org.apache.http.impl.client">CloseableHttpClient</a> build()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
|
<div class="bottomNav"><a name="navbar_bottom">
|
||
|
<!-- -->
|
||
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="navList" title="Navigation">
|
||
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||
|
<li><a href="package-summary.html">Package</a></li>
|
||
|
<li class="navBarCell1Rev">Class</li>
|
||
|
<li><a href="class-use/HttpClientBuilder.html">Use</a></li>
|
||
|
<li><a href="package-tree.html">Tree</a></li>
|
||
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||
|
<li><a href="../../../../../index-all.html">Index</a></li>
|
||
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="subNav">
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../org/apache/http/impl/client/HttpAuthenticator.html" title="class in org.apache.http.impl.client"><span class="strong">Prev Class</span></a></li>
|
||
|
<li><a href="../../../../../org/apache/http/impl/client/HttpClients.html" title="class in org.apache.http.impl.client"><span class="strong">Next Class</span></a></li>
|
||
|
</ul>
|
||
|
<ul class="navList">
|
||
|
<li><a href="../../../../../index.html?org/apache/http/impl/client/HttpClientBuilder.html" target="_top">Frames</a></li>
|
||
|
<li><a href="HttpClientBuilder.html" target="_top">No Frames</a></li>
|
||
|
</ul>
|
||
|
<ul class="navList" id="allclasses_navbar_bottom">
|
||
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||
|
</ul>
|
||
|
<div>
|
||
|
<script type="text/javascript"><!--
|
||
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||
|
if(window==top) {
|
||
|
allClassesLink.style.display = "block";
|
||
|
}
|
||
|
else {
|
||
|
allClassesLink.style.display = "none";
|
||
|
}
|
||
|
//-->
|
||
|
</script>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="subNavList">
|
||
|
<li>Summary: </li>
|
||
|
<li>Nested | </li>
|
||
|
<li>Field | </li>
|
||
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
||
|
<li><a href="#method_summary">Method</a></li>
|
||
|
</ul>
|
||
|
<ul class="subNavList">
|
||
|
<li>Detail: </li>
|
||
|
<li>Field | </li>
|
||
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
||
|
<li><a href="#method_detail">Method</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<a name="skip-navbar_bottom">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
<p class="legalCopy"><small>Copyright © 1999–2022 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
|
||
|
</body>
|
||
|
</html>
|