cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-2323) Jax RS clients don't support features
Date Thu, 02 Jul 2009 14:03:47 GMT

    [ https://issues.apache.org/jira/browse/CXF-2323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726487#action_12726487
] 

Sergey Beryozkin commented on CXF-2323:
---------------------------------------

You can do the same by doing 

JAXRSClientFactoryBean bean = new JAXRSClientFactoryBean();
bean.setAddress("http://foo");
bean.addInInterceptors(inInterceptors);
WebClient client = bean.createWebClient();

So you set all the interceptors/etc you need and then you only deal with/see  WebClient HTTP
methods

I'd just like to make WebClient api about HTTP only.

ClientConfiguration is a holder for all the nonHTTP artifacts - it actually made the code
dealing with copying clients simpler.

As I said, I'd also like to make ClientConfiguration publicly available - but I'd rather introduce
some helper method like 

WebClient.getConfiguration(Client)

which will work for proxies/web cliens alike. Would you like this helper method be available
right now ?

cheers, Sergey

> Jax RS clients don't support features
> -------------------------------------
>
>                 Key: CXF-2323
>                 URL: https://issues.apache.org/jira/browse/CXF-2323
>             Project: CXF
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.2.2
>            Reporter: Eamonn Dwyer
>            Assignee: Sergey Beryozkin
>             Fix For: 2.2.3, 2.3
>
>         Attachments: CXF-2323.patch
>
>
> It would make life easier if we could have features configureable for Jaxrs clients.
> A proposed patch will follow shortly

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


Mime
View raw message