Fwd: SPI to add JAX-RS annotations dynamically
by Alessio Soldano
Forwarding to the list :-)
---------- Forwarded message ----------
From: Alessio Soldano <asoldano(a)redhat.com>
Date: Wed, Sep 27, 2017 at 10:24 PM
Subject: Re: [resteasy-dev] SPI to add JAX-RS annotations dynamically
To: Christian Kaltepoth <christian(a)kaltepoth.de>
Hi Christian,
On Wed, Sep 27, 2017 at 9:19 PM, Christian Kaltepoth <christian(a)kaltepoth.de
> wrote:
>
> sorry for the delayed response. I agree that if some SPI would allow to
> modify the builders, it should be done before the resource is registered in
> the resource factory. Do you think such a SPI would be useful for others?
>
Probably yes, but your scenario might even be enough to justify it.
I would be happy to contribute some code if it improves portability between
> RESTEasy and the MVC RI.
>
Sure, feel free to work on that and send a PR.
> Thanks for pointing me to the resteasy-cdi integration. I'll have a deeper
> look at it in the next days.
>
OK, good, I hope that can offer some idea for integrating.
Cheers
Alessio
6 years, 7 months
Fwd: ParamConverter usage on client side
by Rebecca Searls
Alessio here is the discussion thread. Thought reply all was happening.
>>>>>> Heiko wrote:
>>>>>> While working on the microprofile rest client I noticed that a test
registers a ParamConverter
>>>>>> on a JAX-RS client. It’s intended to modify the invocation
parameters prior to the actual HTTP
>>>>>> request. It doesn't seem to be executed by the RESTeasy client
implementation and I wonder if
>>>>>> this intentionally being ignored On the client side (maybe a spec
thing?)
>>>>>>
>>>>>> Regards, Heiko
>>>>>>
>>>>> Rebecca wrote:
>>>>>This is executed on the server side of resteasy not the client side.
>>>>>
>>>> Heiko wrote:
>>>> Yes, I know it works for the server side, but is there a reason why
that shouldn’t be with a client?
>>>
>>> Rebecca wrote:
>>> I would think it would be desirable to transmit the users *original*
data and process it on the backend
>>> rather than alter the original data and transmit that. I do not find
any spec statements related to this
>>> other than converters are discussion in the section on producers. My
guess is, this is the common
>>> means of handling this among jaxrs implementations.
>>>
>> Heiko wrote:
>>
>> Yes, I agree and would have thought the same. But it appears as if the
CXF impl treats it differently.
>>
> Rebecca wrote:
>
> I suggest filing an enhancement request for Resteasy.
> It would be most helpful to provide in the jira a simple app to
demonstrate the issue.
---------- Forwarded message ----------
From: Alessio Soldano <asoldano(a)redhat.com>
Date: Mon, Feb 5, 2018 at 9:30 AM
Subject: Fwd: [resteasy-dev] ParamConverter usage on client side
To: Rebecca Searls <rsearls(a)redhat.com>
Hi Rebecca,
did you answer here? If so, please forward the message to the mailing list,
I didn't get it, so I assume it went to Heiko only.
Thanks
Alessio
---------- Forwarded message ----------
From: Heiko Braun <ike.braun(a)googlemail.com>
Date: Mon, Feb 5, 2018 at 3:22 PM
Subject: Re: [resteasy-dev] ParamConverter usage on client side
To: Wei Nan Li <weli(a)redhat.com>
Cc: Alessio Soldano <asoldano(a)redhat.com>
No worries, I think Rebecca answered my questions already.
Heiko
On 5. February 2018 at 14:50:26, Wei Nan Li (weli(a)redhat.com) wrote:
Hi Heiko,
Sorry I'm still checking on this topic, and let me give you my response by
Wednesday.
On Fri, Feb 2, 2018 at 9:37 PM, Heiko Braun <ike.braun(a)googlemail.com>
wrote:
> Thanks, I appreciate your help on this.
>
>
> On 2. February 2018 at 11:35:54, Wei Nan Li (weli(a)redhat.com) wrote:
>
> Hi Heiko,
>
> Let me check on this and give you my findings.
>
> On Fri, Feb 2, 2018 at 5:41 PM, Heiko Braun <ike.braun(a)googlemail.com>
> wrote:
>
>> While working on the microprofile rest client I noticed that a test
>> registers a ParamConverter on a JAX-RS client. It’s intended to modify the
>> invocation parameters prior to the actual HTTP request. It doesn't seem to
>> be executed by the RESTeasy client implementation and I wonder if this
>> intentionally being ignored On the client side (maybe a spec thing?)
>>
>> Regards, Heiko
>>
>>
>> _______________________________________________
>> resteasy-dev mailing list
>> resteasy-dev(a)lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/resteasy-dev
>>
>>
>
>
> --
> Cheers,
> Weinan | JBoss
>
>
--
Cheers,
Weinan | JBoss
6 years, 9 months
ParamConverter usage on client side
by Heiko Braun
While working on the microprofile rest client I noticed that a test
registers a ParamConverter on a JAX-RS client. It’s intended to modify the
invocation parameters prior to the actual HTTP request. It doesn't seem to
be executed by the RESTeasy client implementation and I wonder if this
intentionally being ignored On the client side (maybe a spec thing?)
Regards, Heiko
6 years, 9 months