diff --git a/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java b/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java index 872eac87a..032290e38 100644 --- a/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java +++ b/httpclient/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java @@ -56,19 +56,16 @@ import org.apache.http.util.VersionInfo; /** * Default implementation of {@link HttpClient} pre-configured for most common use scenarios. *

- * This class creates the following chain of protocol interceptors per default: - *

+ * Please see the Javadoc for {@link #createHttpProcessor()} for the details of the interceptors that are set up + * by default. + *

+ * Additional interceptors can be added as follows, but + * take care not to add the same interceptor more than once. + *

+ * DefaultHttpClient httpclient = new DefaultHttpClient();
+ * httpclient.addRequestInterceptor(new RequestAcceptEncoding());
+ * httpclient.addResponseInterceptor(new ResponseContentEncoding());
+ * 
*

* This class sets up the following parameters if not explicitly set: *