public interface SubResources
Modifier and Type | Method and Description |
---|---|
void |
resource(String segment)
Instantiate the sub-resource, perform any RoleMap bindings based on
the given segment, and then call handle(Request,Response) on the subresource.
|
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