BasicRestGroup

The {@link oajr.BasicRestGroup} class is identical to the {@link oajr.BasicRestServletGroup} class except that it does not extend from HttpServlet. It defines the exact same set of serializers, parsers, etc., but it cannot be deployed as a top-level servlet. It can however be used for child resources registered via the {@link oajr.annotation.Rest#children() @Rest(children)} annotation.

// The entire contents of the BasicRestGroup class. public class BasicRestGroup extends BasicRest { @RestMethod(name=GET, path="/", description="Child resources") public ChildResourceDescriptions getChildren(RestRequest req) { return new ChildResourceDescriptions(this, req); } }