Sean C. Sullivan wrote:

> jakarta-commons httpclient inquiry + patch:
>
>The HttpMethod interface declares a method called
>recycle():
>
>----------------
>
>    /**
>     * Recycle this method so that it can be used again.
>     * Note that all of my instance variables will be reset
>     * once this method has been called.
>     */
>    public void recycle();
>
>----------------
>
>The GetMethod class implements the HttpMethod interface
>and the recycle method:
>
>#################
>
>   // override recycle to reset redirects default
>   public void recycle() {
>        super.recycle();
>        setFollowRedirects(true);
>    }
>
>################
>
>
>GetMethod.recycle() does not reset its instance variables properly.
>
>I am attaching a patch for GetMethod.java  (patch file:  GetMethod.patch)
>
>Cheers,
>
>-Sean
>
Applied....

-- 
dIon Gillard, Multitask Consulting
http://www.multitask.com.au/developers




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to