public interface SubResources
void resource(String segment) throws org.restlet.resource.ResourceException
segment
- the current segment that the sub-resource will correspond toorg.restlet.resource.ResourceException
- if the subresource could not be lookup up, typically a 404