You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2010/12/01 22:52:13 UTC

[jira] Resolved: (CXF-3137) Simplify http connection factory in http transport (please review)

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

Christian Schneider resolved CXF-3137.
--------------------------------------

    Resolution: Fixed

> Simplify http connection factory in http transport  (please review)
> -------------------------------------------------------------------
>
>                 Key: CXF-3137
>                 URL: https://issues.apache.org/jira/browse/CXF-3137
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>    Affects Versions: 2.3.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 2.3.1
>
>         Attachments: cxf-rt-transports-http-3137.patch
>
>
> Currently the http transport uses a quite complicated way to create http url connections. There are two factories (for http and https). One is selected and cached. Then when you change the config of the transport it is eventually replaced. 
> I propose to make this much simpler by having only a https url connection factory that also handles the http case. The new code has one little drawback it also eliminates the ConnectionInfo classes partly. I think that is not a big issue as I think this classes are only used for https trust decisions. It would be great though if someone could review the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.