[jax-rs-spec users] [jsr339-experts] Re: RESTEasy StringConverter

From: Bill Burke <>
Date: Mon, 02 Jul 2012 11:49:18 -0400

Sorry, catching up after a mini-vacation with family.

We have a toString(...) for client side. Use both in our low-level,
jax-rs-2.0-like client API and also within our proxy framework. Would
still be useful for JAX-RS 2.0 when passing objects to
WebTarget.pathParam and Webtarget.queryParam as well as when creating forms.

On 6/29/12 7:18 PM, Marek Potociar wrote:
> Hi Bill,
> I am looking into resolving issue #61 (
> ) and while the purpose
> behind StringConverter.fromString(...) method is clear to me (we have a
> very similar concept in Jersey too), I'm not clear about the purpose of
> the StringConterter.toString(...) method. Is it really used? What do you
> use it for?
> Right now it seems to me that the fromString part should cover the use
> cases alone. Or am I missing something?
> Thanks,
> Marek

Bill Burke
JBoss, a division of Red Hat