hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: DO NOT REPLY [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.
Date Fri, 14 Feb 2003 15:27:14 GMT
I think the only real way to do it is with an adapter class.  It would 
be a subclass of HttpConnection that takes a connection in the 
constructor.  It would just pass all method calls along to the real 
connection, until the connection is released.


Ortwin Gl├╝ck wrote:
> Michael Becke wrote:
>> I like your idea of wrapping the real connection in another layer.  I 
>> should have some time to try this out today.  I will post anything I 
>> come up with.
> Unfortunately Java has no native closures otherwise this would be easy 
> to implement. Maybe you know of a well-established pattern to make 
> closure in Java?
> ---------------------------------------------------------------------
> 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