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.
xiaomi-note/javadoc/org/apache/http/impl/client/DefaultRequestDirector.html

1008 lines
65 KiB

<!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>DefaultRequestDirector (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="DefaultRequestDirector (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/DefaultRequestDirector.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/DefaultRedirectStrategy.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/DefaultServiceUnavailableRetryStrategy.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/DefaultRequestDirector.html" target="_top">Frames</a></li>
<li><a href="DefaultRequestDirector.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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 DefaultRequestDirector" class="title">Class DefaultRequestDirector</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.DefaultRequestDirector</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../org/apache/http/client/RequestDirector.html" title="interface in org.apache.http.client">RequestDirector</a></dd>
</dl>
<hr>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Do not use.</i></div>
</div>
<br>
<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 class <span class="strong">DefaultRequestDirector</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>
implements <a href="../../../../../org/apache/http/client/RequestDirector.html" title="interface in org.apache.http.client">RequestDirector</a></pre>
<div class="block">Default implementation of <a href="../../../../../org/apache/http/client/RequestDirector.html" title="interface in org.apache.http.client"><code>RequestDirector</code></a>.
<p>
The following parameters can be used to customize the behavior of this
class:
<ul>
<li><code>CoreProtocolPNames.PROTOCOL_VERSION</code></li>
<li><code>CoreProtocolPNames.STRICT_TRANSFER_ENCODING</code></li>
<li><code>CoreProtocolPNames.HTTP_ELEMENT_CHARSET</code></li>
<li><code>CoreProtocolPNames.USE_EXPECT_CONTINUE</code></li>
<li><code>CoreProtocolPNames.WAIT_FOR_CONTINUE</code></li>
<li><code>CoreProtocolPNames.USER_AGENT</code></li>
<li><code>CoreConnectionPNames.SOCKET_BUFFER_SIZE</code></li>
<li><code>CoreConnectionPNames.MAX_LINE_LENGTH</code></li>
<li><code>CoreConnectionPNames.MAX_HEADER_COUNT</code></li>
<li><code>CoreConnectionPNames.SO_TIMEOUT</code></li>
<li><code>CoreConnectionPNames.SO_LINGER</code></li>
<li><code>CoreConnectionPNames.SO_REUSEADDR</code></li>
<li><code>CoreConnectionPNames.TCP_NODELAY</code></li>
<li><code>CoreConnectionPNames.CONNECTION_TIMEOUT</code></li>
<li><code>CoreConnectionPNames.STALE_CONNECTION_CHECK</code></li>
<li><a href="../../../../../org/apache/http/conn/params/ConnRoutePNames.html#FORCED_ROUTE"><code>ConnRoutePNames.FORCED_ROUTE</code></a></li>
<li><a href="../../../../../org/apache/http/conn/params/ConnRoutePNames.html#LOCAL_ADDRESS"><code>ConnRoutePNames.LOCAL_ADDRESS</code></a></li>
<li><a href="../../../../../org/apache/http/conn/params/ConnRoutePNames.html#DEFAULT_PROXY"><code>ConnRoutePNames.DEFAULT_PROXY</code></a></li>
<li><a href="../../../../../org/apache/http/cookie/params/CookieSpecPNames.html#DATE_PATTERNS"><code>CookieSpecPNames.DATE_PATTERNS</code></a></li>
<li><a href="../../../../../org/apache/http/cookie/params/CookieSpecPNames.html#SINGLE_COOKIE_HEADER"><code>CookieSpecPNames.SINGLE_COOKIE_HEADER</code></a></li>
<li><a href="../../../../../org/apache/http/auth/params/AuthPNames.html#CREDENTIAL_CHARSET"><code>AuthPNames.CREDENTIAL_CHARSET</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#COOKIE_POLICY"><code>ClientPNames.COOKIE_POLICY</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#HANDLE_AUTHENTICATION"><code>ClientPNames.HANDLE_AUTHENTICATION</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#HANDLE_REDIRECTS"><code>ClientPNames.HANDLE_REDIRECTS</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#MAX_REDIRECTS"><code>ClientPNames.MAX_REDIRECTS</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#ALLOW_CIRCULAR_REDIRECTS"><code>ClientPNames.ALLOW_CIRCULAR_REDIRECTS</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#VIRTUAL_HOST"><code>ClientPNames.VIRTUAL_HOST</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#DEFAULT_HOST"><code>ClientPNames.DEFAULT_HOST</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#DEFAULT_HEADERS"><code>ClientPNames.DEFAULT_HEADERS</code></a></li>
<li><a href="../../../../../org/apache/http/client/params/ClientPNames.html#CONN_MANAGER_TIMEOUT"><code>ClientPNames.CONN_MANAGER_TIMEOUT</code></a></li>
</ul></div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>4.0</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#connManager">connManager</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The connection manager.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected org.apache.http.protocol.HttpProcessor</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#httpProcessor">httpProcessor</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The HTTP protocol processor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#keepAliveStrategy">keepAliveStrategy</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The keep-alive duration strategy.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/conn/ManagedClientConnection.html" title="interface in org.apache.http.conn">ManagedClientConnection</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#managedConn">managedConn</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The currently allocated connection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.apache.http.params.HttpParams</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#params">params</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The HTTP parameters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#proxyAuthHandler">proxyAuthHandler</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The proxy authentication handler.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/auth/AuthState.html" title="class in org.apache.http.auth">AuthState</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#proxyAuthState">proxyAuthState</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#proxyAuthStrategy">proxyAuthStrategy</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The proxy authentication handler.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/client/RedirectHandler.html" title="interface in org.apache.http.client">RedirectHandler</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#redirectHandler">redirectHandler</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The redirect handler.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client">RedirectStrategy</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#redirectStrategy">redirectStrategy</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The redirect strategy.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.apache.http.protocol.HttpRequestExecutor</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#requestExec">requestExec</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The request executor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#retryHandler">retryHandler</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The request retry handler.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.apache.http.ConnectionReuseStrategy</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#reuseStrategy">reuseStrategy</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The connection re-use strategy.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#routePlanner">routePlanner</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The route planner.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#targetAuthHandler">targetAuthHandler</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The target authentication handler.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/auth/AuthState.html" title="class in org.apache.http.auth">AuthState</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#targetAuthState">targetAuthState</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#targetAuthStrategy">targetAuthStrategy</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The target authentication handler.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#userTokenHandler">userTokenHandler</a></strong></code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">The user token handler.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== 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">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor,%20org.apache.http.conn.ClientConnectionManager,%20org.apache.http.ConnectionReuseStrategy,%20org.apache.http.conn.ConnectionKeepAliveStrategy,%20org.apache.http.conn.routing.HttpRoutePlanner,%20org.apache.http.protocol.HttpProcessor,%20org.apache.http.client.HttpRequestRetryHandler,%20org.apache.http.client.RedirectHandler,%20org.apache.http.client.AuthenticationHandler,%20org.apache.http.client.AuthenticationHandler,%20org.apache.http.client.UserTokenHandler,%20org.apache.http.params.HttpParams)">DefaultRequestDirector</a></strong>(org.apache.http.protocol.HttpRequestExecutor&nbsp;requestExec,
<a href="../../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</a>&nbsp;conman,
org.apache.http.ConnectionReuseStrategy&nbsp;reustrat,
<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a>&nbsp;kastrat,
<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a>&nbsp;rouplan,
org.apache.http.protocol.HttpProcessor&nbsp;httpProcessor,
<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a>&nbsp;retryHandler,
<a href="../../../../../org/apache/http/client/RedirectHandler.html" title="interface in org.apache.http.client">RedirectHandler</a>&nbsp;redirectHandler,
<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a>&nbsp;targetAuthHandler,
<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a>&nbsp;proxyAuthHandler,
<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a>&nbsp;userTokenHandler,
org.apache.http.params.HttpParams&nbsp;params)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#DefaultRequestDirector(org.apache.commons.logging.Log,%20org.apache.http.protocol.HttpRequestExecutor,%20org.apache.http.conn.ClientConnectionManager,%20org.apache.http.ConnectionReuseStrategy,%20org.apache.http.conn.ConnectionKeepAliveStrategy,%20org.apache.http.conn.routing.HttpRoutePlanner,%20org.apache.http.protocol.HttpProcessor,%20org.apache.http.client.HttpRequestRetryHandler,%20org.apache.http.client.RedirectStrategy,%20org.apache.http.client.AuthenticationHandler,%20org.apache.http.client.AuthenticationHandler,%20org.apache.http.client.UserTokenHandler,%20org.apache.http.params.HttpParams)">DefaultRequestDirector</a></strong>(org.apache.commons.logging.Log&nbsp;log,
org.apache.http.protocol.HttpRequestExecutor&nbsp;requestExec,
<a href="../../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</a>&nbsp;conman,
org.apache.http.ConnectionReuseStrategy&nbsp;reustrat,
<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a>&nbsp;kastrat,
<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a>&nbsp;rouplan,
org.apache.http.protocol.HttpProcessor&nbsp;httpProcessor,
<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a>&nbsp;retryHandler,
<a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client">RedirectStrategy</a>&nbsp;redirectStrategy,
<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a>&nbsp;targetAuthHandler,
<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a>&nbsp;proxyAuthHandler,
<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a>&nbsp;userTokenHandler,
org.apache.http.params.HttpParams&nbsp;params)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#DefaultRequestDirector(org.apache.commons.logging.Log,%20org.apache.http.protocol.HttpRequestExecutor,%20org.apache.http.conn.ClientConnectionManager,%20org.apache.http.ConnectionReuseStrategy,%20org.apache.http.conn.ConnectionKeepAliveStrategy,%20org.apache.http.conn.routing.HttpRoutePlanner,%20org.apache.http.protocol.HttpProcessor,%20org.apache.http.client.HttpRequestRetryHandler,%20org.apache.http.client.RedirectStrategy,%20org.apache.http.client.AuthenticationStrategy,%20org.apache.http.client.AuthenticationStrategy,%20org.apache.http.client.UserTokenHandler,%20org.apache.http.params.HttpParams)">DefaultRequestDirector</a></strong>(org.apache.commons.logging.Log&nbsp;log,
org.apache.http.protocol.HttpRequestExecutor&nbsp;requestExec,
<a href="../../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</a>&nbsp;conman,
org.apache.http.ConnectionReuseStrategy&nbsp;reustrat,
<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a>&nbsp;kastrat,
<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a>&nbsp;rouplan,
org.apache.http.protocol.HttpProcessor&nbsp;httpProcessor,
<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a>&nbsp;retryHandler,
<a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client">RedirectStrategy</a>&nbsp;redirectStrategy,
<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a>&nbsp;targetAuthStrategy,
<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a>&nbsp;proxyAuthStrategy,
<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a>&nbsp;userTokenHandler,
org.apache.http.params.HttpParams&nbsp;params)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</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">&nbsp;</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 org.apache.http.HttpRequest</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#createConnectRequest(org.apache.http.conn.routing.HttpRoute,%20org.apache.http.protocol.HttpContext)">createConnectRequest</a></strong>(<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route,
org.apache.http.protocol.HttpContext&nbsp;context)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Creates the CONNECT request for tunnelling.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#createTunnelToProxy(org.apache.http.conn.routing.HttpRoute,%20int,%20org.apache.http.protocol.HttpContext)">createTunnelToProxy</a></strong>(<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route,
int&nbsp;hop,
org.apache.http.protocol.HttpContext&nbsp;context)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Creates a tunnel to an intermediate proxy.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#createTunnelToTarget(org.apache.http.conn.routing.HttpRoute,%20org.apache.http.protocol.HttpContext)">createTunnelToTarget</a></strong>(<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route,
org.apache.http.protocol.HttpContext&nbsp;context)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Creates a tunnel to the target server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#determineRoute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest,%20org.apache.http.protocol.HttpContext)">determineRoute</a></strong>(org.apache.http.HttpHost&nbsp;targetHost,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.protocol.HttpContext&nbsp;context)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Determines the route for a request.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#establishRoute(org.apache.http.conn.routing.HttpRoute,%20org.apache.http.protocol.HttpContext)">establishRoute</a></strong>(<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route,
org.apache.http.protocol.HttpContext&nbsp;context)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Establishes the target route.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.apache.http.HttpResponse</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#execute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest,%20org.apache.http.protocol.HttpContext)">execute</a></strong>(org.apache.http.HttpHost&nbsp;targetHost,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.protocol.HttpContext&nbsp;context)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Executes a request.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/http/impl/client/RoutedRequest.html" title="class in org.apache.http.impl.client">RoutedRequest</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#handleResponse(org.apache.http.impl.client.RoutedRequest,%20org.apache.http.HttpResponse,%20org.apache.http.protocol.HttpContext)">handleResponse</a></strong>(<a href="../../../../../org/apache/http/impl/client/RoutedRequest.html" title="class in org.apache.http.impl.client">RoutedRequest</a>&nbsp;roureq,
org.apache.http.HttpResponse&nbsp;response,
org.apache.http.protocol.HttpContext&nbsp;context)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Analyzes a response to check need for a followup.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#releaseConnection()">releaseConnection</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
<div class="block">Returns the connection back to the connection manager
and prepares for retrieving a new connection during
the next request.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#rewriteRequestURI(org.apache.http.impl.client.RequestWrapper,%20org.apache.http.conn.routing.HttpRoute)">rewriteRequestURI</a></strong>(<a href="../../../../../org/apache/http/impl/client/RequestWrapper.html" title="class in org.apache.http.impl.client">RequestWrapper</a>&nbsp;request,
<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="connManager">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connManager</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</a> connManager</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The connection manager.</div>
</li>
</ul>
<a name="routePlanner">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>routePlanner</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a> routePlanner</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The route planner.</div>
</li>
</ul>
<a name="reuseStrategy">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reuseStrategy</h4>
<pre>protected final&nbsp;org.apache.http.ConnectionReuseStrategy reuseStrategy</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The connection re-use strategy.</div>
</li>
</ul>
<a name="keepAliveStrategy">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keepAliveStrategy</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a> keepAliveStrategy</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The keep-alive duration strategy.</div>
</li>
</ul>
<a name="requestExec">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requestExec</h4>
<pre>protected final&nbsp;org.apache.http.protocol.HttpRequestExecutor requestExec</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The request executor.</div>
</li>
</ul>
<a name="httpProcessor">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>httpProcessor</h4>
<pre>protected final&nbsp;org.apache.http.protocol.HttpProcessor httpProcessor</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The HTTP protocol processor.</div>
</li>
</ul>
<a name="retryHandler">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>retryHandler</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a> retryHandler</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The request retry handler.</div>
</li>
</ul>
<a name="redirectHandler">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>redirectHandler</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/client/RedirectHandler.html" title="interface in org.apache.http.client">RedirectHandler</a> redirectHandler</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The redirect handler.</div>
</li>
</ul>
<a name="redirectStrategy">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>redirectStrategy</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client">RedirectStrategy</a> redirectStrategy</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The redirect strategy.</div>
</li>
</ul>
<a name="targetAuthHandler">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>targetAuthHandler</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a> targetAuthHandler</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The target authentication handler.</div>
</li>
</ul>
<a name="targetAuthStrategy">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>targetAuthStrategy</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> targetAuthStrategy</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The target authentication handler.</div>
</li>
</ul>
<a name="proxyAuthHandler">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>proxyAuthHandler</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a> proxyAuthHandler</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The proxy authentication handler.</div>
</li>
</ul>
<a name="proxyAuthStrategy">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>proxyAuthStrategy</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a> proxyAuthStrategy</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The proxy authentication handler.</div>
</li>
</ul>
<a name="userTokenHandler">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userTokenHandler</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a> userTokenHandler</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The user token handler.</div>
</li>
</ul>
<a name="params">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>params</h4>
<pre>protected final&nbsp;org.apache.http.params.HttpParams params</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The HTTP parameters.</div>
</li>
</ul>
<a name="managedConn">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>managedConn</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/http/conn/ManagedClientConnection.html" title="interface in org.apache.http.conn">ManagedClientConnection</a> managedConn</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">The currently allocated connection.</div>
</li>
</ul>
<a name="targetAuthState">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>targetAuthState</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/auth/AuthState.html" title="class in org.apache.http.auth">AuthState</a> targetAuthState</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="proxyAuthState">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>proxyAuthState</h4>
<pre>protected final&nbsp;<a href="../../../../../org/apache/http/auth/AuthState.html" title="class in org.apache.http.auth">AuthState</a> proxyAuthState</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DefaultRequestDirector</h4>
<pre>public&nbsp;DefaultRequestDirector(org.apache.http.protocol.HttpRequestExecutor&nbsp;requestExec,
<a href="../../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</a>&nbsp;conman,
org.apache.http.ConnectionReuseStrategy&nbsp;reustrat,
<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a>&nbsp;kastrat,
<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a>&nbsp;rouplan,
org.apache.http.protocol.HttpProcessor&nbsp;httpProcessor,
<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a>&nbsp;retryHandler,
<a href="../../../../../org/apache/http/client/RedirectHandler.html" title="interface in org.apache.http.client">RedirectHandler</a>&nbsp;redirectHandler,
<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a>&nbsp;targetAuthHandler,
<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a>&nbsp;proxyAuthHandler,
<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a>&nbsp;userTokenHandler,
org.apache.http.params.HttpParams&nbsp;params)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="DefaultRequestDirector(org.apache.commons.logging.Log, org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectStrategy, org.apache.http.client.AuthenticationHandler, org.apache.http.client.AuthenticationHandler, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DefaultRequestDirector</h4>
<pre>public&nbsp;DefaultRequestDirector(org.apache.commons.logging.Log&nbsp;log,
org.apache.http.protocol.HttpRequestExecutor&nbsp;requestExec,
<a href="../../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</a>&nbsp;conman,
org.apache.http.ConnectionReuseStrategy&nbsp;reustrat,
<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a>&nbsp;kastrat,
<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a>&nbsp;rouplan,
org.apache.http.protocol.HttpProcessor&nbsp;httpProcessor,
<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a>&nbsp;retryHandler,
<a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client">RedirectStrategy</a>&nbsp;redirectStrategy,
<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a>&nbsp;targetAuthHandler,
<a href="../../../../../org/apache/http/client/AuthenticationHandler.html" title="interface in org.apache.http.client">AuthenticationHandler</a>&nbsp;proxyAuthHandler,
<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a>&nbsp;userTokenHandler,
org.apache.http.params.HttpParams&nbsp;params)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
</li>
</ul>
<a name="DefaultRequestDirector(org.apache.commons.logging.Log, org.apache.http.protocol.HttpRequestExecutor, org.apache.http.conn.ClientConnectionManager, org.apache.http.ConnectionReuseStrategy, org.apache.http.conn.ConnectionKeepAliveStrategy, org.apache.http.conn.routing.HttpRoutePlanner, org.apache.http.protocol.HttpProcessor, org.apache.http.client.HttpRequestRetryHandler, org.apache.http.client.RedirectStrategy, org.apache.http.client.AuthenticationStrategy, org.apache.http.client.AuthenticationStrategy, org.apache.http.client.UserTokenHandler, org.apache.http.params.HttpParams)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DefaultRequestDirector</h4>
<pre>public&nbsp;DefaultRequestDirector(org.apache.commons.logging.Log&nbsp;log,
org.apache.http.protocol.HttpRequestExecutor&nbsp;requestExec,
<a href="../../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</a>&nbsp;conman,
org.apache.http.ConnectionReuseStrategy&nbsp;reustrat,
<a href="../../../../../org/apache/http/conn/ConnectionKeepAliveStrategy.html" title="interface in org.apache.http.conn">ConnectionKeepAliveStrategy</a>&nbsp;kastrat,
<a href="../../../../../org/apache/http/conn/routing/HttpRoutePlanner.html" title="interface in org.apache.http.conn.routing">HttpRoutePlanner</a>&nbsp;rouplan,
org.apache.http.protocol.HttpProcessor&nbsp;httpProcessor,
<a href="../../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client">HttpRequestRetryHandler</a>&nbsp;retryHandler,
<a href="../../../../../org/apache/http/client/RedirectStrategy.html" title="interface in org.apache.http.client">RedirectStrategy</a>&nbsp;redirectStrategy,
<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a>&nbsp;targetAuthStrategy,
<a href="../../../../../org/apache/http/client/AuthenticationStrategy.html" title="interface in org.apache.http.client">AuthenticationStrategy</a>&nbsp;proxyAuthStrategy,
<a href="../../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client">UserTokenHandler</a>&nbsp;userTokenHandler,
org.apache.http.params.HttpParams&nbsp;params)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>4.2</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="rewriteRequestURI(org.apache.http.impl.client.RequestWrapper, org.apache.http.conn.routing.HttpRoute)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rewriteRequestURI</h4>
<pre>protected&nbsp;void&nbsp;rewriteRequestURI(<a href="../../../../../org/apache/http/impl/client/RequestWrapper.html" title="class in org.apache.http.impl.client">RequestWrapper</a>&nbsp;request,
<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route)
throws org.apache.http.ProtocolException</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>org.apache.http.ProtocolException</code></dd></dl>
</li>
</ul>
<a name="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public&nbsp;org.apache.http.HttpResponse&nbsp;execute(org.apache.http.HttpHost&nbsp;targetHost,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.protocol.HttpContext&nbsp;context)
throws org.apache.http.HttpException,
<a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/http/client/RequestDirector.html#execute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest,%20org.apache.http.protocol.HttpContext)">RequestDirector</a></code></strong></div>
<div class="block">Executes a request.
<p>
<b>Note:</b> For the time being, a new director is instantiated for each request.
This is the same behavior as for <code>HttpMethodDirector</code>
in HttpClient 3.
</p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/http/client/RequestDirector.html#execute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest,%20org.apache.http.protocol.HttpContext)">execute</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/http/client/RequestDirector.html" title="interface in org.apache.http.client">RequestDirector</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>targetHost</code> - the target host for the request.
Implementations may accept <code>null</code>
if they can still determine a route, for example
to a default target or by inspecting the request.</dd><dd><code>request</code> - the request to execute</dd><dd><code>context</code> - the context for executing the request</dd>
<dt><span class="strong">Returns:</span></dt><dd>the final response to the request.
This is never an intermediate response with status code 1xx.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>org.apache.http.HttpException</code> - in case of a problem</dd>
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case of an IO problem
or if the connection was aborted</dd></dl>
</li>
</ul>
<a name="releaseConnection()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>releaseConnection</h4>
<pre>protected&nbsp;void&nbsp;releaseConnection()</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Returns the connection back to the connection manager
and prepares for retrieving a new connection during
the next request.</div>
</li>
</ul>
<a name="determineRoute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>determineRoute</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;determineRoute(org.apache.http.HttpHost&nbsp;targetHost,
org.apache.http.HttpRequest&nbsp;request,
org.apache.http.protocol.HttpContext&nbsp;context)
throws org.apache.http.HttpException</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Determines the route for a request.
Called by <a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#execute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest,%20org.apache.http.protocol.HttpContext)"><code>execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)</code></a>
to determine the route for either the original or a followup request.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>targetHost</code> - the target host for the request.
Implementations may accept <code>null</code>
if they can still determine a route, for example
to a default target or by inspecting the request.</dd><dd><code>request</code> - the request to execute</dd><dd><code>context</code> - the context to use for the execution,
never <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the route the request should take</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>org.apache.http.HttpException</code> - in case of a problem</dd></dl>
</li>
</ul>
<a name="establishRoute(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>establishRoute</h4>
<pre>protected&nbsp;void&nbsp;establishRoute(<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route,
org.apache.http.protocol.HttpContext&nbsp;context)
throws org.apache.http.HttpException,
<a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Establishes the target route.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>route</code> - the route to establish</dd><dd><code>context</code> - the context for the request execution</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>org.apache.http.HttpException</code> - in case of a problem</dd>
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case of an IO problem</dd></dl>
</li>
</ul>
<a name="createTunnelToTarget(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTunnelToTarget</h4>
<pre>protected&nbsp;boolean&nbsp;createTunnelToTarget(<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route,
org.apache.http.protocol.HttpContext&nbsp;context)
throws org.apache.http.HttpException,
<a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Creates a tunnel to the target server.
The connection must be established to the (last) proxy.
A CONNECT request for tunnelling through the proxy will
be created and sent, the response received and checked.
This method does <i>not</i> update the connection with
information about the tunnel, that is left to the caller.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>route</code> - the route to establish</dd><dd><code>context</code> - the context for request execution</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the tunnelled route is secure,
<code>false</code> otherwise.
The implementation here always returns <code>false</code>,
but derived classes may override.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>org.apache.http.HttpException</code> - in case of a problem</dd>
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case of an IO problem</dd></dl>
</li>
</ul>
<a name="createTunnelToProxy(org.apache.http.conn.routing.HttpRoute, int, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTunnelToProxy</h4>
<pre>protected&nbsp;boolean&nbsp;createTunnelToProxy(<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route,
int&nbsp;hop,
org.apache.http.protocol.HttpContext&nbsp;context)
throws org.apache.http.HttpException,
<a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Creates a tunnel to an intermediate proxy.
This method is <i>not</i> implemented in this class.
It just throws an exception here.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>route</code> - the route to establish</dd><dd><code>hop</code> - the hop in the route to establish now.
<code>route.getHopTarget(hop)</code>
will return the proxy to tunnel to.</dd><dd><code>context</code> - the context for request execution</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the partially tunnelled connection
is secure, <code>false</code> otherwise.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>org.apache.http.HttpException</code> - in case of a problem</dd>
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case of an IO problem</dd></dl>
</li>
</ul>
<a name="createConnectRequest(org.apache.http.conn.routing.HttpRoute, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createConnectRequest</h4>
<pre>protected&nbsp;org.apache.http.HttpRequest&nbsp;createConnectRequest(<a href="../../../../../org/apache/http/conn/routing/HttpRoute.html" title="class in org.apache.http.conn.routing">HttpRoute</a>&nbsp;route,
org.apache.http.protocol.HttpContext&nbsp;context)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Creates the CONNECT request for tunnelling.
Called by <a href="../../../../../org/apache/http/impl/client/DefaultRequestDirector.html#createTunnelToTarget(org.apache.http.conn.routing.HttpRoute,%20org.apache.http.protocol.HttpContext)"><code>createTunnelToTarget</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>route</code> - the route to establish</dd><dd><code>context</code> - the context for request execution</dd>
<dt><span class="strong">Returns:</span></dt><dd>the CONNECT request for tunnelling</dd></dl>
</li>
</ul>
<a name="handleResponse(org.apache.http.impl.client.RoutedRequest, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>handleResponse</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/http/impl/client/RoutedRequest.html" title="class in org.apache.http.impl.client">RoutedRequest</a>&nbsp;handleResponse(<a href="../../../../../org/apache/http/impl/client/RoutedRequest.html" title="class in org.apache.http.impl.client">RoutedRequest</a>&nbsp;roureq,
org.apache.http.HttpResponse&nbsp;response,
org.apache.http.protocol.HttpContext&nbsp;context)
throws org.apache.http.HttpException,
<a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
<div class="block">Analyzes a response to check need for a followup.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>roureq</code> - the request and route.</dd><dd><code>response</code> - the response to analayze</dd><dd><code>context</code> - the context used for the current request execution</dd>
<dt><span class="strong">Returns:</span></dt><dd>the followup request and route if there is a followup, or
<code>null</code> if the response should be returned as is</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>org.apache.http.HttpException</code> - in case of a problem</dd>
<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case of an IO problem</dd></dl>
</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/DefaultRequestDirector.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/DefaultRedirectStrategy.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/DefaultServiceUnavailableRetryStrategy.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/DefaultRequestDirector.html" target="_top">Frames</a></li>
<li><a href="DefaultRequestDirector.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 1999&#x2013;2022 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>