Type Reason Java.IO.IOException if an I/O error occurs. This indicates that connection keep-alive is not possible.
TODO: The name of this method is misnomer. It will be renamed to
#finish() in the next major release.
This method is called to indicate that the content of this entity
is no longer required. All entity implementations are expected to
release all allocated resources as a result of this method
invocation. Content streaming entities are also expected to
dispose of the remaining content, if any. Wrapping entities should
delegate this call to the wrapped entity.
This method is of particular importance for entities being
received from a Org.Apache.Http.IHttpConnection. The entity
needs to be consumed completely in order to re-use the connection
with keep-alive.