Re: [HttpClient] problem with removing HTTP request interceptor

2008-03-10 Thread Johannes Koch
Sam Berlin schrieb: That's a bug with the method signature. It should be defined as: public void removeRequestInterceptorByClass(Class clazz); Thanks, Sam. Issue reported (HTTPCLIENT-758) and patch provided. -- Johannes Koch BIKA Web Compliance Center - Fraunhofer FIT Schloss Birlinghoven, D

Re: [HttpClient] problem with removing HTTP request interceptor

2008-03-10 Thread Sam Berlin
That's a bug with the method signature. It should be defined as: public void removeRequestInterceptorByClass(Class clazz); Sam On Mon, Mar 10, 2008 at 8:49 AM, Johannes Koch <[EMAIL PROTECTED]> wrote: > Hi, > > I try to remove the HTTP request interceptor RequestAddCookies from the > HTTP clie

[HttpClient] problem with removing HTTP request interceptor

2008-03-10 Thread Johannes Koch
Hi, I try to remove the HTTP request interceptor RequestAddCookies from the HTTP client. DefaultHttpClient dhc = new DefaultHttpClient(); dhc.removeRequestInterceptorByClass(RequestAddCookies.class); Compiling with Java 1.5 resulted in the following error: The method removeRequestIntercepto