You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Steffen Pingel (JIRA)" <ji...@apache.org> on 2007/04/24 00:16:15 UTC

[jira] Created: (HTTPCORE-67) Improve event listener interface for service handler

Improve event listener interface for service handler
----------------------------------------------------

                 Key: HTTPCORE-67
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-67
             Project: HttpComponents Core
          Issue Type: Improvement
          Components: HttpCore
            Reporter: Steffen Pingel


The EventListener class used by the service and client handlers does not pass the connection object as a parameter to the event notification methods. I suggest to extend the signatures of the methods in EventListener to either include the context or the connection object.

My use case is that I need to clean up application specific state which is stored in the context of the connection when a connection is closed.


-- 
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


[jira] Resolved: (HTTPCORE-67) Improve event listener interface for service handler

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-67.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0-alpha5

Fixed in SVN trunk

Oleg

> Improve event listener interface for service handler
> ----------------------------------------------------
>
>                 Key: HTTPCORE-67
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-67
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore
>            Reporter: Steffen Pingel
>             Fix For: 4.0-alpha5
>
>
> The EventListener class used by the service and client handlers does not pass the connection object as a parameter to the event notification methods. I suggest to extend the signatures of the methods in EventListener to either include the context or the connection object.
> My use case is that I need to clean up application specific state which is stored in the context of the connection when a connection is closed.

-- 
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