Zoltan Farkas created CXF-6992:
----------------------------------
Summary: ParamConverterProvider invoked with wrong types
Key: CXF-6992
URL: https://issues.apache.org/jira/browse/CXF-6992
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 3.1.5
Reporter: Zoltan Farkas
I have created a type: MyType<T>
and registered a ParameterConverterProvider to serialize/de-serialize my type.
when I use my type as in a JAX-RS as:
{code}
@QueryParam("qparam") List<MyType<Integer>>
{code}
end invoke the enpoint with:
http://service/enpoint?qparam=abc&qparam=cde
I get ParameterConverterProvider.getConverter(Integer.class,...) invoked
instead of
ParameterConverterProvider.getConverter(MyType.class,...)
which does not look right to me, as such CXF tries to parse the qparam as
Integer instead of MyType...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)