Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpcomponents Wiki" 
for change notification.

The following page has been changed by OlegKalnichevski:
http://wiki.apache.org/HttpComponents/HttpClientTutorial

------------------------------------------------------------------------------
  
      The connection will not be reused, but all level resources held by it 
will be correctly deallocated.
     
- ==== Consuming entity content ====
+ === Consuming entity content ===
  
      The recommended way to consume content of an entity is by using its 
HttpEntity#getContent() or  HttpEntity#writeTo(OutputStream) methods. 
HttpClient also comes with the EntityUtils class, which exposes several static 
methods to more easily read the content or information from an entity. Instead 
of reading the java.io.InputStream directly, one can retrieve the whole content 
body in a string / byte array by using the methods from this class. However, 
the use of HttpEntity is strongly discouraged unless the response entities 
originate from a trusted HTTP server and are known to be of limited length.
  

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

Reply via email to