hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r676023 - in /httpcomponents/httpclient/trunk/module-client/src: main/java/org/apache/http/impl/client/ test/java/org/apache/http/impl/client/
Date Fri, 11 Jul 2008 16:40:57 GMT
Author: olegk
Date: Fri Jul 11 09:40:56 2008
New Revision: 676023

URL: http://svn.apache.org/viewvc?rev=676023&view=rev
Log:
Renamed DefaultClientRequestDirector to DefaultRequestDirector

Added:
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultRequestDirector.java
      - copied, changed from r676020, httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java
Removed:
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java
Modified:
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestDefaultClientRequestDirector.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestStatefulConnManagement.java

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java?rev=676023&r1=676022&r2=676023&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
Fri Jul 11 09:40:56 2008
@@ -578,7 +578,7 @@
             final AuthenticationHandler proxyAuthHandler,
             final UserTokenHandler stateHandler,
             final HttpParams params) {
-        return new DefaultClientRequestDirector(
+        return new DefaultRequestDirector(
                 requestExec,
                 conman,
                 reustrat,
@@ -602,7 +602,7 @@
      * 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
      *

Copied: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultRequestDirector.java
(from r676020, httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java)
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultRequestDirector.java?p2=httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultRequestDirector.java&p1=httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java&r1=676020&r2=676023&rev=676023&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultClientRequestDirector.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultRequestDirector.java
Fri Jul 11 09:40:56 2008
@@ -106,7 +106,7 @@
  *
  * @since 4.0
  */
-public class DefaultClientRequestDirector implements RequestDirector {
+public class DefaultRequestDirector implements RequestDirector {
 
     private final Log log = LogFactory.getLog(getClass());
     
@@ -157,7 +157,7 @@
     
     private final AuthState proxyAuthState;
     
-    public DefaultClientRequestDirector(
+    public DefaultRequestDirector(
             final HttpRequestExecutor requestExec,
             final ClientConnectionManager conman,
             final ConnectionReuseStrategy reustrat,

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestDefaultClientRequestDirector.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestDefaultClientRequestDirector.java?rev=676023&r1=676022&r2=676023&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestDefaultClientRequestDirector.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestDefaultClientRequestDirector.java
Fri Jul 11 09:40:56 2008
@@ -81,7 +81,7 @@
 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 @@
     
     /**
      * 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 {

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestStatefulConnManagement.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestStatefulConnManagement.java?rev=676023&r1=676022&r2=676023&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestStatefulConnManagement.java
(original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/client/TestStatefulConnManagement.java
Fri Jul 11 09:40:56 2008
@@ -55,7 +55,7 @@
 import org.apache.http.protocol.HttpRequestHandler;
 
 /**
- * Unit tests for {@link DefaultClientRequestDirector}
+ * Unit tests for {@link DefaultRequestDirector}
  */
 public class TestStatefulConnManagement extends ServerTestBase {
 



Mime
View raw message