Renamed DefaultClientRequestDirector to DefaultRequestDirector
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@676023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
17d75864d9
commit
9126cd2183
|
@ -578,7 +578,7 @@ public abstract class AbstractHttpClient implements HttpClient {
|
|||
final AuthenticationHandler proxyAuthHandler,
|
||||
final UserTokenHandler stateHandler,
|
||||
final HttpParams params) {
|
||||
return new DefaultClientRequestDirector(
|
||||
return new DefaultRequestDirector(
|
||||
requestExec,
|
||||
conman,
|
||||
reustrat,
|
||||
|
@ -602,7 +602,7 @@ public abstract class AbstractHttpClient implements HttpClient {
|
|||
* This method is called by the default implementation of
|
||||
* {@link #execute(HttpHost,HttpRequest,HttpContext)}
|
||||
* to obtain the parameters for the
|
||||
* {@link DefaultClientRequestDirector}.
|
||||
* {@link DefaultRequestDirector}.
|
||||
*
|
||||
* @param req the request that will be executed
|
||||
*
|
||||
|
|
|
@ -106,7 +106,7 @@ import org.apache.http.protocol.HttpRequestExecutor;
|
|||
*
|
||||
* @since 4.0
|
||||
*/
|
||||
public class DefaultClientRequestDirector implements RequestDirector {
|
||||
public class DefaultRequestDirector implements RequestDirector {
|
||||
|
||||
private final Log log = LogFactory.getLog(getClass());
|
||||
|
||||
|
@ -157,7 +157,7 @@ public class DefaultClientRequestDirector implements RequestDirector {
|
|||
|
||||
private final AuthState proxyAuthState;
|
||||
|
||||
public DefaultClientRequestDirector(
|
||||
public DefaultRequestDirector(
|
||||
final HttpRequestExecutor requestExec,
|
||||
final ClientConnectionManager conman,
|
||||
final ConnectionReuseStrategy reustrat,
|
|
@ -81,7 +81,7 @@ import org.apache.http.protocol.HttpRequestExecutor;
|
|||
import org.apache.http.protocol.HttpRequestHandler;
|
||||
|
||||
/**
|
||||
* Unit tests for {@link DefaultClientRequestDirector}
|
||||
* Unit tests for {@link DefaultRequestDirector}
|
||||
*/
|
||||
public class TestDefaultClientRequestDirector extends ServerTestBase {
|
||||
|
||||
|
@ -100,7 +100,7 @@ public class TestDefaultClientRequestDirector extends ServerTestBase {
|
|||
|
||||
/**
|
||||
* Tests that if abort is called on an {@link AbortableHttpRequest} while
|
||||
* {@link DefaultClientRequestDirector} is allocating a connection, that the
|
||||
* {@link DefaultRequestDirector} is allocating a connection, that the
|
||||
* connection is properly aborted.
|
||||
*/
|
||||
public void testAbortInAllocate() throws Exception {
|
||||
|
|
|
@ -55,7 +55,7 @@ import org.apache.http.protocol.HttpContext;
|
|||
import org.apache.http.protocol.HttpRequestHandler;
|
||||
|
||||
/**
|
||||
* Unit tests for {@link DefaultClientRequestDirector}
|
||||
* Unit tests for {@link DefaultRequestDirector}
|
||||
*/
|
||||
public class TestStatefulConnManagement extends ServerTestBase {
|
||||
|
||||
|
|
Loading…
Reference in New Issue