hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: Copy or clone a HttpMethod
Date Fri, 07 Mar 2003 10:33:42 GMT
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)


-----Original Message-----
From: mathis@vtg.at [mailto:mathis@vtg.at]
Sent: Freitag, 7. März 2003 10:41
To: commons-httpclient-dev@jakarta.apache.org
Subject: Copy or clone a HttpMethod 


I don't find the public clone method in HttpMethod. I want to copy (or
clone) a HttpMethod before I execute it (or can I execute a method twice? I
think it's not possible.). Is there a simple way to do that or would that be
an enhancement?

Thx, Thomas

To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

View raw message