@groovy.transform.CompileStatic class RestApi extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
static class |
RestApi.IdNode |
|
static class |
RestApi.MethodEntity |
|
static class |
RestApi.MethodHandler |
|
static class |
RestApi.MethodNotSupportedException |
|
static class |
RestApi.MethodService |
|
static class |
RestApi.PathNode |
|
static class |
RestApi.ResourceNode |
|
static class |
RestApi.ResourceNotFoundException |
|
static class |
RestApi.RestResult |
Modifiers | Name | Description |
---|---|---|
protected ExecutionContextFactoryImpl |
ecfi |
|
protected static org.slf4j.Logger |
logger |
|
protected static java.util.Map<java.lang.String, java.lang.String> |
objectJsonFormatMap |
|
protected static java.util.Map<java.lang.String, java.lang.String> |
objectTypeJsonMap |
|
protected static java.util.Map<java.lang.String, java.lang.String> |
objectTypeRamlMap |
Type | Name and description |
---|---|
MCache<java.lang.String, ResourceNode> |
rootResourceCache |
Constructor and description |
---|
RestApi
(ExecutionContextFactoryImpl ecfi) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List<ResourceNode> |
getFreshRootResources() Used in tools dashboard screen |
|
static java.lang.String |
getJsonFormat(java.lang.String javaType) |
|
static java.lang.String |
getJsonType(java.lang.String javaType) |
|
java.util.Map<java.lang.String, java.lang.Object> |
getRamlMap(java.lang.String rootResourceName, java.lang.String linkPrefix) |
|
static java.lang.String |
getRamlType(java.lang.String javaType) |
|
RestApi.ResourceNode |
getRootResourceNode(java.lang.String name) |
|
java.util.Map<java.lang.String, java.lang.Object> |
getSwaggerMap(java.util.List<java.lang.String> rootPathList, java.util.List<java.lang.String> schemes, java.lang.String hostName, java.lang.String basePath) |
|
void |
loadRootResourceNode(java.lang.String name) |
|
RestResult |
run(java.util.List<java.lang.String> pathList, ExecutionContextImpl ec) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Used in tools dashboard screen
Groovy Documentation