You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2007/09/16 12:31:32 UTC

[jira] Created: (HTTPCORE-116) define parameter names in interfaces

define parameter names in interfaces
------------------------------------

                 Key: HTTPCORE-116
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-116
             Project: HttpComponents Core
          Issue Type: Improvement
          Components: HttpCore, HttpCore NIO
            Reporter: Roland Weber
            Assignee: Roland Weber
            Priority: Trivial
             Fix For: 4.0-alpha6


As discussed on the mailing list, it would be nice to define the parameter names in interfaces, allowing for multiple inheritance. The currently used classes can still serve their purpose of providing accessor methods.

This applies to HttpClient as well.


-- 
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-116) define parameter names in interfaces

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

Roland Weber resolved HTTPCORE-116.
-----------------------------------

    Resolution: Fixed

Parameter names are now defined in interfaces with suffix "PNames". In core-main and NIO, the params classes declare to "implement" the respective interfaces. This is meant to minimize changes to existing application code. Tests and examples are updated to use parameter constants from the new interfaces directly.

The interface for NIO is called NIOReactorPNames. I didn't like the sequence of uppercase characters in "NIOPNames", and reactor is the best term I know for "the NIO framework". One of the two parameters is used in package "protocol", but it's not a protocol parameter anyway. Feel free to change the interface name if you like something else better.

cheers,
  Roland


> define parameter names in interfaces
> ------------------------------------
>
>                 Key: HTTPCORE-116
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-116
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore, HttpCore NIO
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Trivial
>             Fix For: 4.0-alpha6
>
>
> As discussed on the mailing list, it would be nice to define the parameter names in interfaces, allowing for multiple inheritance. The currently used classes can still serve their purpose of providing accessor methods.
> This applies to HttpClient as well.

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