hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpcomponents Wiki] Update of "HttpCoreTutorial" by OlegKalnichevski
Date Mon, 20 Oct 2008 16:51:13 GMT
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:

   * closed: triggered when the connection is closed.
- == NHTTP entities ==
+ == Non-blocking HTTP entities ==
+ As discussed previously the process of content transfer for non-blocking connections works
completely differently compared to that for blocking connections. For obvious reasons classic
I/O abstraction based on inherently blocking !InputStream and !OutputStream classes is not
applicable to the asynchronous process of data transfer. Therefore, non-blocking HTTP entities
provide NIO specific extensions to the !HttpEntity interface: !ProducingNHttpEntity and !ConsumingNHttpEntity
interfaces. Implementation classes of these interfaces may throw !UnsupportedOperationException
from #getContent() or #writeTo() if a particular implementation is unable to represent its
content stream as instance of !InputStream or cannot stream its content out to an !OutputStream
-     Producing entities; consuming entities;
+ Producing entities; consuming entities;
  == NHTTP protocol handlers ==

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message