HTTPCLIENT-672: re-sync with core snapshot

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@557708 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Roland Weber 2007-07-19 17:55:05 +00:00
parent bfb47ec954
commit 5a90e4a07c
3 changed files with 31 additions and 5 deletions

View File

@ -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
-------------------

View File

@ -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>

View File

@ -306,8 +306,8 @@ public abstract class AbstractHttpClient
}
public synchronized void clearResponseInterceptors() {
getHttpProcessor().clearResponseInterceptors();
public synchronized void addResponseInterceptor(final HttpResponseInterceptor itcp, int index) {
getHttpProcessor().addInterceptor(itcp, index);
}
@ -320,14 +320,24 @@ public abstract class AbstractHttpClient
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);
}
@ -341,6 +351,16 @@ public abstract class AbstractHttpClient
}
public synchronized void clearRequestInterceptors() {
getHttpProcessor().clearRequestInterceptors();
}
public void removeRequestInterceptorByClass(Class clazz) {
getHttpProcessor().removeRequestInterceptorByClass(clazz);
}
public synchronized void setInterceptors(final List itcps) {
getHttpProcessor().setInterceptors(itcps);
}