Document MT safety concern
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755779 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe0e5e9654
commit
6c01316e2c
|
@ -421,6 +421,7 @@ public abstract class AbstractHttpClient implements HttpClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// TODO - should this be synch? Is remove MT safe?
|
||||||
public void removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor> clazz) {
|
public void removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor> clazz) {
|
||||||
getHttpProcessor().removeResponseInterceptorByClass(clazz);
|
getHttpProcessor().removeResponseInterceptorByClass(clazz);
|
||||||
}
|
}
|
||||||
|
@ -451,6 +452,7 @@ public abstract class AbstractHttpClient implements HttpClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// TODO - should this be synch? Is remove MT safe?
|
||||||
public void removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz) {
|
public void removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz) {
|
||||||
getHttpProcessor().removeRequestInterceptorByClass(clazz);
|
getHttpProcessor().removeRequestInterceptorByClass(clazz);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue