Code example for HttpEntity

Methods: getContentLength, writeTo