Package org.apache.juneau.examples.rest
Class UtilityBeansResource
java.lang.Object
org.apache.juneau.rest.servlet.RestObject
org.apache.juneau.rest.servlet.BasicRestObject
org.apache.juneau.examples.rest.UtilityBeansResource
- All Implemented Interfaces:
- BasicUniversalConfig,- DefaultConfig,- DefaultHtmlConfig,- BasicRestOperations
Sample resource that allows images to be uploaded and retrieved.
 
See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classSample address bean used for demonstrating utility bean functionality.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription[HTTP GET /utilitybeans/BeanDescription][HTTP GET /utilitybeans/Hyperlink][HTTP GET /utilitybeans/SeeOtherRoot][HTTP GET /utilitybeans]Methods inherited from class org.apache.juneau.rest.servlet.BasicRestObjecterror, getFavIcon, getHtdoc, getStats, getSwaggerMethods inherited from class org.apache.juneau.rest.servlet.RestObjectdoLog, getContext, getRequest, getResponse, log, log, setContext
- 
Constructor Details- 
UtilityBeansResourcepublic UtilityBeansResource()
 
- 
- 
Method Details- 
getChildDescriptions[HTTP GET /utilitybeans]- Returns:
- Descriptive links to the child endpoints.
 
- 
aBeanDescription[HTTP GET /utilitybeans/BeanDescription]- Returns:
- Example of serialized org.apache.juneau.rest.utilitybeans.ResourceDescriptions bean.
 
- 
aHyperlink[HTTP GET /utilitybeans/Hyperlink]- Returns:
- Example of serialized org.apache.juneau.rest.utilitybeans.Hyperlink bean.
 
- 
aSeeOtherRoot[HTTP GET /utilitybeans/SeeOtherRoot]- Returns:
- Example of serialized SeeOtherRoot bean. This just redirects back to the servlet root.
 
 
-