@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: servlet:/?method=OPTIONS","stats: servlet:/stats","$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() |
getChildren
error, getOptions, getStats
destroy, getContext, getPath, getProperties, getRequest, getResponse, getServletConfig, init, log, log, log, log, logObjects, service, setContext, setRestResourceResolver
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletContext, getServletInfo, getServletName, init
public RootResources()
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.