jira-importer opened a new issue, #1112: URL: https://github.com/apache/httpcomponents-core/issues/1112
**[Steffen Pingel](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=spingel)** opened **[HTTPCORE-73](https://issues.apache.org/jira/browse/HTTPCORE-73?redirect=false)** and commented Add a new method to NHttpServiceHandler that notifies the service handler that a response has been sent: void responseSubmitted(NHttpServerConnection conn); The sent response can be retrieved through conn.getHttpResponse() when the method is invoked. The use case here is that I need to enable and disable throttling per response (which is handled by the underlying NIO layer) and need to know at what point the output buffer for a response has been flushed. The throttling is controlled in the application layer so I need to propagate the event through the layers. Such an event notification could also replace NHttpServerConnection.isResponseSubmitted() which currently has an implementation in DefaultNHttpServerConnection that does not match the JavaDoc specification. --- **Affects:** 4.0-alpha5 **Attachments:** - [httpcore-nio-request-ready.patch](https://issues.apache.org/jira/secure/attachment/12357484/httpcore-nio-request-ready.patch) (_1.47 kB_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
