users@jersey.java.net

[Jersey] Re: Link.fromPath Issue?

From: Robert DiFalco <robert.difalco_at_gmail.com>
Date: Tue, 6 May 2014 11:37:25 -0700

Anything on this?


On Mon, May 5, 2014 at 1:26 PM, Robert DiFalco <robert.difalco_at_gmail.com>wrote:

> 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!
>