Description
public static class Receiver
{
@Path("/head")
@GET
public String get()
}
public static class QueueReceiver extends Receiver
{
}
@Path("/directory")
public static class Directory
{
@Path("/receivers/
public QueueReceiver getReceiver(@PathParam("id")String id)
{ return new QueueReceiver(); }
@DELETE
@Path("/receivers/{id}
")
public String closeReceiver(@PathParam("id")String id) throws Exception
}
if the invocation is "DELETE /receiver/1" it will not dispatch to closeReceiver.