Jason,
> Break it up using more than one Router, and include a filter for
> whether a license actually exists. [...]
Thanks for the suggestion and the sample code...
> router.setDefaultMatchingMode(Template.MODE_STARTS_WITH);
> router.attach("/licenses/{license}/valid",
> LicensesValidResource.class);
> router.attach("/licenses/{license}/usage",
> LicensesUsageResource.class);
Is the way I did it (which isn't working) just _wrong_ or is it that it's ok
but there's a "better" way? I do think that the way I coded it makes
optical/intuitive sense at least the the first-timer like me...
> It's more RESTful to keep the resources for license validity and
> license usage separate as you wrote them.
You're saying here that having the two resources LicensesValidResource and
LicensesUsageResource is the better way to go right?
Chris
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2884419