jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] ParamConverter questions

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Mon, 17 Dec 2012 13:06:17 +0000

Hi

Are ParamConverters supposed to be used first, before the default param
conversion algorithm is used or after ?

For example, consider

public class A {

     public static A valueOf(String s);

}

Should the runtime attempt to find the registered converter for A before
trying to convert using the default algorithm ?

Next, ParamConverter.Lazy: Marek can you explain why a converter will
use it ? I'm sorry - I can't understand by reading the docs alone

Thanks. Sergey

P.S: minor typo in the spec, "ParamsConverter.Lazy" - extra 's'