dev@jersey.java.net

Re: Ending '/' is required for UriTemplate value?

From: Peter Liu <Peter.Liu_at_Sun.COM>
Date: Thu, 02 Aug 2007 13:21:55 -0700

Hi Paul,

Here is the context. Currently, when we generate the UriTemplate, we
append it with "/".
The reason is to make it easy for us to create an uri for a subresource
from the parent
uri by using the resolve() method since the resolve() strips off the
last segment in the uri.

So, the question is whether there is another simple way to achieve the
same result
without us having to append a "/".

Thanks.

Peter

Nam Nguyen wrote:
> Hi Paul,
>
> Could you please explain (again?) the reason for this requirement. It
> seems to me this is just some temporary work-around rather than be
> part of JSR specs.
>
> Thanks,
>
> -Nam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net
>