On Thu, 2008-01-24 at 15:55 -0500, Tim Julien wrote:
> in the new 4.0 stack, is there an analog to 
> org.apache.commons.httpclient.HttpMethodBase.getResponseBodyAsString()?
> 

Hi Tim,

This should do the trick

HttpEntity entity = response.getEntity();
if (entity != null) {
  String s = EntityUtils.toString(entity);
}

Oleg

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


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

Reply via email to