You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Daniel Kulp <dk...@apache.org> on 2012/07/25 23:01:21 UTC

2.7 migration guide page created...

Just to let everyone know, I started a page to record any migration issues 
for CXF 2.7:

https://cwiki.apache.org/confluence/display/CXF20DOC/2.7+Migration+Guide

I just made a rather large commit to refactor the HTTPConduit stuff a bit.   
I've pulled all the HTTPUrlConnection logic out of it and into a subclass.   
I'm working on a new httpcompontent-asyncclient subclass as well.  Pulling 
the HTTPUrlConnection stuff out allows quite a bit of reuse of much of the 
logic while making sure code that would do things like:

HTTPConduit conduit = (HTTPConduit)client.getConduit();
conduit.setC....()

will still work.  However, anyone that has already subclassed the 
HTTPConduit (likely very rare) may have migration issues.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Re: 2.7 migration guide page created...

Posted by Alessio Soldano <as...@redhat.com>.
On 07/25/2012 11:22 PM, Sergey Beryozkin wrote:
> On 25/07/12 22:01, Daniel Kulp wrote:
>>
>> Just to let everyone know, I started a page to record any migration
>> issues
>> for CXF 2.7:
>>
>> https://cwiki.apache.org/confluence/display/CXF20DOC/2.7+Migration+Guide
>>
>> I just made a rather large commit to refactor the HTTPConduit stuff a
>> bit.
>> I've pulled all the HTTPUrlConnection logic out of it and into a
>> subclass.
>> I'm working on a new httpcompontent-asyncclient subclass as well. 
>> Pulling
>> the HTTPUrlConnection stuff out allows quite a bit of reuse of much of
>> the
>> logic while making sure code that would do things like:
>>
>> HTTPConduit conduit = (HTTPConduit)client.getConduit();
>> conduit.setC....()
>>
>> will still work.
> 
> +1, very good

:-)

-- 
Alessio Soldano
Web Service Lead, JBoss

Re: 2.7 migration guide page created...

Posted by Sergey Beryozkin <sb...@gmail.com>.
On 25/07/12 22:01, Daniel Kulp wrote:
>
> Just to let everyone know, I started a page to record any migration issues
> for CXF 2.7:
>
> https://cwiki.apache.org/confluence/display/CXF20DOC/2.7+Migration+Guide
>
> I just made a rather large commit to refactor the HTTPConduit stuff a bit.
> I've pulled all the HTTPUrlConnection logic out of it and into a subclass.
> I'm working on a new httpcompontent-asyncclient subclass as well.  Pulling
> the HTTPUrlConnection stuff out allows quite a bit of reuse of much of the
> logic while making sure code that would do things like:
>
> HTTPConduit conduit = (HTTPConduit)client.getConduit();
> conduit.setC....()
>
> will still work.

+1, very good

Cheers, Sergey

>  However, anyone that has already subclassed the
> HTTPConduit (likely very rare) may have migration issues.
>