Reputation: 568
I have a jnlp application which accepts rest parameters.
Examples:
Example 1 and 2 work fine. However, how can I react on the last case? I can run it without parameter, with id but not with id=. That gets me a WebApplicationException. What could I do to allow the third case?
Upvotes: 0
Views: 1621
Reputation: 583
There are few ways are to handle the same. Please refer the probable solutions in the following link: Jersey Client / JAX-RS and optional (not default) @QueryParam (client side)
Upvotes: 1