+ 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){....}
1 Respuesta
+ 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...