Consider I have a Resource like so:
@Path("/user")
public class UserResource {
@Path("{id}")
@GET
public User get() {
...
}
}
Is it the intended behavior that Link.fromMethod(UserResource.class,
"get")would return (for example) "
http://localhost:9998/1" instead of "
http://localhost:9998/user/1"?
Thanks!