commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T.J. Hoo" <>
Subject HttpException: Already used, but not recycled
Date Wed, 11 Aug 2004 05:42:26 GMT
I encounter HttpException: Already used, but not recycled.

>From the API doc, the HttpMethod.recycle() is deprecated and no longer 
supported. How should I solve this problem?

client = new HttpClient();
HttpMethod method = new 
while (true) {
  // can we reuse the method without having to instantiate it each loop?
  int status = client.executeMethod(method);

Appreciate if you can help me or point me to other resources, thank you!

Using a handphone prepaid card? Reload your credit online!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message