|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubResources
Resources that have a collection of sub-resources should extends this interface.
Method Summary | |
---|---|
void |
resource(java.lang.String segment)
Instantiate the sub-resource, perform any RoleMap bindings based on the given segment, and then call handle(Request,Response) on the subresource. |
Method Detail |
---|
void resource(java.lang.String segment) throws org.restlet.resource.ResourceException
segment
- the current segment that the sub-resource will correspond to
org.restlet.resource.ResourceException
- if the subresource could not be lookup up, typically a 404
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |