@Rest(path="/*", title="Root resources", description="Example of a router resource page.", children={HelloWorldResource.class,DtoExamples.class,ConfigResource.class,LogsResource.class,ShutdownResource.class}) @HtmlDocConfig(widgets={ContentTypeMenuItem.class,ThemeMenuItem.class}, navlinks={"options: ?method=OPTIONS","$W{ContentTypeMenuItem}","$W{ThemeMenuItem}","source: $C{Source/gitHub}/org/apache/juneau/examples/rest/$R{servletClassSimple}.java"}, aside={"<div style=\'max-width:400px\' class=\'text\'>","\t<p>This is an example of a \'router\' page that serves as a jumping-off point to child resources.</p>","\t<p>Resources can be nested arbitrarily deep through router pages.</p>","\t<p>Note the <span class=\'link\'>options</span> link provided that lets you see the generated swagger doc for this page.</p>","\t<p>Also note the <span class=\'link\'>sources</span> link on these pages to view the source code for the page.</p>","\t<p>All content on pages in the UI are serialized POJOs. In this case, it\'s a serialized array of beans with 2 properties, \'name\' and \'description\'.</p>","\t<p>Other features (such as this aside) are added through annotations.</p>","</div>"}) @SerializerConfig(quoteChar="\'") public class RootResources extends BasicRestServletJenaGroup
| Constructor and Description |
|---|
RootResources() |
getChildrengetOptionsdestroy, getContext, getPath, getProperties, getRequest, getResponse, getServletConfig, init, log, log, log, log, logObjects, service, setContext, setRestResourceResolverdoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicegetInitParameter, getInitParameterNames, getServletContext, getServletInfo, getServletName, initpublic RootResources()
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.