Hello Armin,

> Releasing the connection is necessary/possible after
>       httpMethod.execute()
> or is it only possible after one/all of the following functions
>       method.getStatusLine() 
>       method.getResponseHeaders()
>       method.getStatusText()
>       method.getResponseBodyAsString()
> ?

You _can_ release the connection any time after execute().
BUT you can't call methods like getResponseBodyAsString()
afterwards. The general rule is: Make sure the connection
is *always* released *after* you've finished processing
the response. The last sections of the tutorial address
connection release, too:
http://jakarta.apache.org/commons/httpclient/tutorial.html

hope that helps,
  Roland


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

Reply via email to