From 6c01316e2c53a2a42fbfc30d7a4267aa449a0c59 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Wed, 18 Mar 2009 23:24:04 +0000 Subject: [PATCH] Document MT safety concern git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755779 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/http/impl/client/AbstractHttpClient.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java b/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java index 34b0bc17d..2aa14b73e 100644 --- a/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java +++ b/httpclient/src/main/java/org/apache/http/impl/client/AbstractHttpClient.java @@ -421,6 +421,7 @@ public abstract class AbstractHttpClient implements HttpClient { } + // TODO - should this be synch? Is remove MT safe? public void removeResponseInterceptorByClass(Class 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 clazz) { getHttpProcessor().removeRequestInterceptorByClass(clazz); }