This content has been marked as final.
Show 2 replies
-
1. Re: Overriding methods with Rest
meetoblivion Jul 16, 2013 9:37 AM (in response to gboro54)Not sureif you ever found a solution, but you may want to throw questions like these into the resteasy forum.
Anyways, you can use @DefaultValue for optional parameters. I believe the spec is a first-match behavior (find the first method that can accept these arguments and continue). As a result, especially for query params, you should define a larger method to accept all params and give them default values.
-
2. Re: Overriding methods with Rest
gboro54 Jul 16, 2013 9:39 AM (in response to meetoblivion)John,
I figured this once I read the spec and did such. Thanks for the response.