Code example for HttpEntity

Methods: consumeContent, getContent, getContentLength