On 5/21/2013 12:28 PM, Sergey Beryozkin wrote:
> On 21/05/13 17:24, Marek Potociar wrote:
>> Sergey, you are right - I failed to notice that the POST method does
>> not have the same literal path value as the SRL method. I apologise.
>>
> No problems Marek at all, how many times I've argued my point without
> reading the responses properly :-). And in this case we have a fairly
> deep thread :-)
>
I'm lost myself...What is the conclusion? Do locators match in these
situations?
Requests:
GET /sub
OPTIONS /sub
HEAD /sub
@Path("/")
public class Resource {
@Path("sub")
@POST
public void post();
@Path("{ID}")
public Locator locator;
}
class Locator {
@GET get();
@OPTIONS options();
@HEAD head();
}
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com