hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r557708 - in /jakarta/httpcomponents/httpclient/trunk: RELEASE_NOTES.txt module-client/pom.xml module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
Date Thu, 19 Jul 2007 17:55:06 GMT
Author: rolandw
Date: Thu Jul 19 10:55:05 2007
New Revision: 557708

URL: http://svn.apache.org/viewvc?view=rev&rev=557708
Log:
HTTPCLIENT-672: re-sync with core snapshot

Modified:
    jakarta/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt
    jakarta/httpcomponents/httpclient/trunk/module-client/pom.xml
    jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java

Modified: jakarta/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt?view=diff&rev=557708&r1=557707&r2=557708
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt (original)
+++ jakarta/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt Thu Jul 19 10:55:05 2007
@@ -1,3 +1,9 @@
+Changes since release 4.0 Alpha 1
+
+* [HTTPCLIENT-672] re-sync with API changes in core
+  Contributed by Roland Weber <rolandw at apache.org>
+
+
 Release 4.0 Alpha 1
 -------------------
 

Modified: jakarta/httpcomponents/httpclient/trunk/module-client/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/module-client/pom.xml?view=diff&rev=557708&r1=557707&r2=557708
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/module-client/pom.xml (original)
+++ jakarta/httpcomponents/httpclient/trunk/module-client/pom.xml Thu Jul 19 10:55:05 2007
@@ -63,7 +63,7 @@
     <dependency>
       <groupId>org.apache.httpcomponents</groupId>
       <artifactId>httpcore</artifactId>
-      <version>4.0-alpha5</version>
+      <version>4.0-alpha6-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>commons-logging</groupId>

Modified: jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java?view=diff&rev=557708&r1=557707&r2=557708
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java
Thu Jul 19 10:55:05 2007
@@ -306,8 +306,8 @@
     }
 
 
-    public synchronized void clearResponseInterceptors() {
-        getHttpProcessor().clearResponseInterceptors();
+    public synchronized void addResponseInterceptor(final HttpResponseInterceptor itcp, int
index) {
+        getHttpProcessor().addInterceptor(itcp, index);
     }
 
 
@@ -320,14 +320,24 @@
         return getHttpProcessor().getResponseInterceptorCount();
     }
 
+
+    public synchronized void clearResponseInterceptors() {
+        getHttpProcessor().clearResponseInterceptors();
+    }
+
+
+    public void removeResponseInterceptorByClass(Class clazz) {
+        getHttpProcessor().removeResponseInterceptorByClass(clazz);
+    }
+
     
     public synchronized void addRequestInterceptor(final HttpRequestInterceptor itcp) {
         getHttpProcessor().addInterceptor(itcp);
     }
 
 
-    public synchronized void clearRequestInterceptors() {
-        getHttpProcessor().clearRequestInterceptors();
+    public synchronized void addRequestInterceptor(final HttpRequestInterceptor itcp, int
index) {
+        getHttpProcessor().addInterceptor(itcp, index);
     }
 
 
@@ -338,6 +348,16 @@
 
     public synchronized int getRequestInterceptorCount() {
         return getHttpProcessor().getRequestInterceptorCount();
+    }
+
+
+    public synchronized void clearRequestInterceptors() {
+        getHttpProcessor().clearRequestInterceptors();
+    }
+
+
+    public void removeRequestInterceptorByClass(Class clazz) {
+        getHttpProcessor().removeRequestInterceptorByClass(clazz);
     }
 
 



Mime
View raw message