Hi
I have few questions about matching requests to subresource methods.
Consider this class :
@Path("/")
class SomeClass {
@GET
@Path("bar")
public Bar getBar() {}
}
Is it correct that a "GET /bar/" request won't be bound to getBar() ?
According to the 2.5 section, the trailing '/' in GET request will end up in the final matching group, when matching it against Path("bar"), and thus according to 2.5.2.d, getBar() won't be included in the list of candidates...
Did I get it wrong ?
Thanks, Sergey
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland