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/HttpCoreTutorial ------------------------------------------------------------------------------ * 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
