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:
Sebastian Bazley 2009-03-18 23:24:04 +00:00
parent fe0e5e9654
commit 6c01316e2c
1 changed files with 2 additions and 0 deletions

View File

@ -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) {
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) {
getHttpProcessor().removeRequestInterceptorByClass(clazz);
}