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

Roland Weber commented on HTTPCLIENT-712:
-----------------------------------------

I added two enums for tunnelled and layered. The boolean constructors are still 
present and deprecated, I don't want to change the test cases and other code 
until this has been reviewed.

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
>            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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to