eclipse-ee4j / eclipse-ee4j/jersey
@QueryParam annotated parameters doesn't seem to be using the ParamConverters to convert Object instances to String
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
It seems that when using the JerseyClient, the @QueryParam annotated parameters doesn't seem to be using the ParamConverters as opposed to the @PathParam annotated parameters which do use those ParamConverters that are registered in the ClientConfig. Is this a normal behaviour in JAX-RS? Before we were using RestEasy and there we hadn't had that issue and @QueryParam where also converted using our custom registered ParamConverters. It seems the client doesn't invoke the toString methods for custom @QueryParam. On the server side in Grizzly however, the @QueryParams are correctly converted by the fromString using our custom ParamConverters, so the problem seems only to be on the client side. I have written a JerseyTest in our application which reproduces this issue.
Contributor guide
Assessment
This issue has not been assessed yet.