+ 2

Ambiguous rest entrypoint

Is it possible to specify 2 entrypoints with the same path at all when the function signature is different? Eg @Path("/mydata") @GET public MyResource getMyResource(){....} @Path("/mydata") @GET public MyResource getMyResource( @QueryParam("id") long id){....}

29th Sep 2020, 3:12 PM
ifl
ifl - avatar
1 Réponse
+ 1
I know it could be done differently, what i am asking here is whether it would work, and more importantly, why or why not...
29th Sep 2020, 3:13 PM
ifl
ifl - avatar