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/12/21 14:19:43 UTC

[jira] Resolved: (HTTPCLIENT-712) improve HttpRoute API

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Weber resolved HTTPCLIENT-712.
-------------------------------------

    Resolution: Fixed
      Assignee: Roland Weber

Deprecated constructors are removed, testcases updated. Enum arguments can be null, I've mapped null arguments to the respective PLAIN constant. If you prefer exceptions in this case, feel free to fix that.

Let's discuss the route planner when I've finished HTTPCLIENT-716. The authentication handlers and method retry handler are not overridden per request either. They encapsulate logic, overriding is only required for the data on which the logic operates.

cheers,
  Roland


> improve HttpRoute API
> ---------------------
>
>                 Key: HTTPCLIENT-712
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-712
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>    Affects Versions: 4.0 Alpha 2
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Trivial
>             Fix For: 4.0 Alpha 3
>
>
> Some of the constructors of HttpRoute have three boolean parameters.
> Use enumerations to reduce the potential for confusion.
> The flags for tunnelled and layered are not independent, since layered implies tunnelled.
> These can be combined to a 3-valued enum.

-- 
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org