I want to use a method twice with all headers, paths, ... set. recycle() would delete all these settings. As I can not execute a method twice I want to clone/copy it before I execute it.
Thomas -----Urspr�ngliche Nachricht----- Von: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 7. M�rz 2003 11:34 An: Commons HttpClient Project Betreff: RE: Copy or clone a HttpMethod Hi Thomas Some clarifications needed: do you need an exact copy of an Http method or you just want to be able to reuse the same object twice? The problem is that (in my opinion) HttpMethod should be split into HttpRequest/HttpResponse pair. That would allow HttpRequest objects to be reused multiple time without having to go into trouble of 'recycling' objects. However, such a radical design change will not happen any time soon (if approved at all) Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
