users@jsr311.java.net

UriInfo.getAncestorResources

From: Sergey Beryozkin <sergey.beryozkin_at_iona.com>
Date: Wed, 18 Jun 2008 14:55:32 +0100

Hi

I don't understand the purpose of UriInfo.getAncestorResources().
In other words, it seems like that the returned list can have a maximum size of 1, given that
according the spec only classes created by the JAX-RS runtime can be injected with @Context annotated values, such as
UriInfo instance.

What am I missing ?

Thanks, Sergey
 
 

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland