HTTPCLIENT-758: Fixed the use of generics in AbstractHttpClient #removeRequestInterceptorByClass and #removeResponseInterceptorByClass
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de> Reviewed by Oleg Kalnichevski git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@635675 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f25c8c1f77
commit
c84d594f75
|
@ -1,6 +1,10 @@
|
|||
Changes since 4.0 Alpha 3
|
||||
-------------------
|
||||
|
||||
* [HTTPCLIENT-758] Fixed the use of generics in AbstractHttpClient
|
||||
#removeRequestInterceptorByClass and #removeResponseInterceptorByClass
|
||||
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
|
||||
|
||||
* [HTTPCLIENT-749] HttpParams beans
|
||||
Contributed by Stojce Dimski <sdmiski at yahoo.it>
|
||||
|
||||
|
|
|
@ -379,7 +379,7 @@ public abstract class AbstractHttpClient implements HttpClient {
|
|||
}
|
||||
|
||||
|
||||
public void removeResponseInterceptorByClass(Class<HttpResponseInterceptor> clazz) {
|
||||
public void removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor> clazz) {
|
||||
getHttpProcessor().removeResponseInterceptorByClass(clazz);
|
||||
}
|
||||
|
||||
|
@ -409,7 +409,7 @@ public abstract class AbstractHttpClient implements HttpClient {
|
|||
}
|
||||
|
||||
|
||||
public void removeRequestInterceptorByClass(Class<HttpRequestInterceptor> clazz) {
|
||||
public void removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz) {
|
||||
getHttpProcessor().removeRequestInterceptorByClass(clazz);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue