I have done a custom REST framework and I would like if JAX-RS can
annotate with @GET multiples methods (under same class/URL)
In my custom framework, I can handle this as:
1.- Sort all possible methods to call on descendant order by
#parameters (number of parameters)
2.- Second calculate their priority as #parameters with URL value -
#parameters without URL value
3.- Third calling method with greather priority,
· if multiples method has same priority value then use
one with greather #parameters with URL value and less #parameters
without URL
· if multiple coincidences then call to first method
(random selection over selected methods)
I can do this with Jersey (or JAX-RS)?
Thank you