public interface DocumentedResourceHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.json.JSONObject |
documentApi(java.lang.String urlContextRoot,
AbstractBaseResourceHandler executionHandler,
java.util.Map<java.lang.String,java.lang.String> bundle,
java.util.Locale locale)
Request the documentation of all the APIs contained within the resource
handler.
|
java.lang.String |
getClassDescription(java.util.Locale locale)
Get the class description based on description annotations.
|
static final java.lang.String COPYRIGHT
org.apache.commons.json.JSONObject documentApi(java.lang.String urlContextRoot, AbstractBaseResourceHandler executionHandler, java.util.Map<java.lang.String,java.lang.String> bundle, java.util.Locale locale) throws java.lang.Exception
urlContextRoot
- the API URL context root.executionHandler
- the resource handler currently executing the request.bundle
- The resource bundle to generate.locale
- The locale to use.java.lang.Exception
- if anything goes wrong.java.lang.String getClassDescription(java.util.Locale locale)
locale
- The locale to use.