You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Dennis Kieselhorst <ma...@dekies.de> on 2012/10/31 09:21:53 UTC
JAX-RS 2.0 ParamConverterProvider sample
Hi,
I'm looking for a sample implementing a ParamConverterProvider. What's
good practice? Simply matching on raw type and returning an appropriate
ParamConverter instance? I also dipped into the JSR-339 public review
spec but found nothing about that.
Compared to the deprecated CXF-specific ParameterHandler approach, the
standardized ParamConverter also contains a toString method. I would
expect that I can use the ParamConverter on the client side to get
complex objects automatically transformed when using them as parameter.
How to apply the ParamConverterProvider to the WebClient?
Regards
Dennis