hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steffen Pingel (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCORE-68) Provide NIO entity
Date Mon, 23 Apr 2007 22:51:15 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491096

Steffen Pingel commented on HTTPCORE-68:

public interface NHttpEntity extends HttpEntity {

    int consumeContent(ContentDecoder decoder, IOControl ioctrl) throws IOException;

    void produceContent(ContentEncoder encoder, IOControl ioctrl) throws IOException;

consume/procduceContent() would be invoked by the service handler from input/outputReady()
passing the connection for IO control. That allows for entites that asynchronously read or
write data suspending and resuming events as data becomes available.

> Provide NIO entity
> ------------------
>                 Key: HTTPCORE-68
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-68
>             Project: HttpComponents Core
>          Issue Type: New Feature
>            Reporter: Steffen Pingel
> Provide an interface for entities that support event based processing.
> Related: https://issues.apache.org/jira/browse/HTTPCORE-43#action_12490185 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message