@RestResource(path="/predefinedLabels", title="Predefined Label Beans", description="Shows examples of predefined label beans", swagger=) @HtmlDocConfig(widgets={ContentTypeMenuItem.class,ThemeMenuItem.class}, navlinks={"up: request:/..","options: servlet:/?method=OPTIONS","$W{ContentTypeMenuItem}","$W{ThemeMenuItem}","source: $C{Source/gitHub}/org/apache/juneau/examples/rest/dto/$R{servletClassSimple}.java"}) public class PredefinedLabelsResource extends BasicRestServlet
Constructor and Description |
---|
PredefinedLabelsResource() |
Modifier and Type | Method and Description |
---|---|
ResourceDescriptions |
get()
Returns the list of child resource descriptions.
|
BeanDescription |
getBeanDescription()
Returns the bean description of the
Pet class. |
LinkString[] |
getHtmlLinks()
Returns a list of hyperlinked strings.
|
getOptions
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 PredefinedLabelsResource()
@RestMethod public ResourceDescriptions get()
@RestMethod public BeanDescription getBeanDescription()
Pet
class.Pet
class.@RestMethod public LinkString[] getHtmlLinks()
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.