public class ResourceContextHolder extends Object
| Constructor and Description |
|---|
ResourceContextHolder() |
| Modifier and Type | Method and Description |
|---|---|
static ResourceContextHolder |
buildContext(FunctionNode resource) |
String |
getContentType() |
String |
getMethod() |
String |
getName() |
List<ParameterContextHolder> |
getParameters() |
String |
getPath() |
List<String> |
getSupportedMethods() |
boolean |
isMultiMethod() |
public static ResourceContextHolder buildContext(FunctionNode resource) throws CodeGeneratorException
CodeGeneratorExceptionpublic String getMethod()
public String getName()
public String getPath()
public String getContentType()
public List<ParameterContextHolder> getParameters()
public boolean isMultiMethod()
Copyright © 2019 WSO2. All rights reserved.