Hi,
I know UriInfo returns the URI associated with a request, but how
can I return the URI associated with a certain sequence of resource
construction? Meaning, what happens if a user requests:
/companies/{id}/users/{name}
and I am in /companies/{id} without having yet delegated to a
sub-resource for "/users". How do I get the current URI? Similarly, I'd
like to construct a resource manually (by injecting it or using new)
then getting its URI. Can this be done?
Thanks,
Gili