cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eamonn Dwyer (JIRA)" <>
Subject [jira] Commented: (CXF-2323) Jax RS clients don't support features
Date Thu, 02 Jul 2009 13:39:47 GMT


Eamonn Dwyer commented on CXF-2323:

Thanks Sergey
Can you just give me a bit of clarification on the ClientConfiguration object - I see that
AbstractClient.getConfiguration() is marked as protected. So are you simply just saying that
users shouldn't try to configure interceptors on a WebClient object in their client code using
the API? 

For example with the old code (and after I had exposed the InIntercptors from AbstractClient)
I was doing the following
String baseAddress = "http://localhost:9000/";
WebClient client = WebClient.create(baseAddress);
client.getInInterceptors().add(new MyInInterceptor());

If the getConfiguration() method in your applied patch was public I could do the same, but
you have marked it as protected. Are you just saying that a JaxRS client shouldn't really
have any knowledge of how to add interceptors using the api, and really they can just go use
the new features capability to do that? In other words a JaxRS developer shouldn't be polluting
their code with more JaxWS specific API? If that is the case I'm fine with that, but would
just like to know my understanding is correct.  I'm perfectly happy just to live with features
and have no real desire to programatically add interceptors.

> Jax RS clients don't support features
> -------------------------------------
>                 Key: CXF-2323
>                 URL:
>             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.

View raw message