On Wed, 2010-05-12 at 16:55 -0400, Brooks, Kenneth S wrote:
> Thanks to both of you..
> 
> We call httpResponse.getEntity().getContent() 

Careful here. Response entity can be null.

> since we always need the full response since it is serialized data..
> Just need to dig in and see if that will suffice or if I still should just 
> call consumeContent at the end just for safety.
> 

If your application always reads the stream until -1 you are fine.

Oleg 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to