users@jsr311.java.net

Re: Matching requests to subresource methos

From: Sergey Beryozkin <sergey.beryozkin_at_iona.com>
Date: Fri, 7 Mar 2008 15:47:48 -0000

Hi Stephan

But in my example I'm referring to a subresource method :

 @Path("/")
 class SomeClass {
 @GET
 @Path("bar")
 public Bars getBars() {}
}

getBars() is a subresource method ?

Thanks, SErgey

> Hello Sergey,
>> > In 2.5.2.d you remove members for which the final matching group is
>> > not empty or '/'. So if the final matching group is '/' then you'd
>> > you'd leave it in.
>> Sorry, do you mean "remove the member" ? That is, in my example below,
>> no match would be found for a
>>
>> GET /bar/ ?
> that is only for (sub) resoure methods, not for sub resource locators.
> I've made the same mistake :-)
>
> Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net

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