public class BaseUtilBridge extends java.lang.Object implements IBaseUtil
| Modifier and Type | Field and Description |
|---|---|
protected IAdaptiveRPGroup |
apiGroup
Group of API.
|
| Constructor and Description |
|---|
BaseUtilBridge()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IAdaptiveRPGroup |
getAPIGroup()
Return the API group for the given interface.
|
java.lang.String |
getAPIVersion()
Return the API version for the given interface.
|
com.google.gson.Gson |
getJSONParser()
Return the JSON deserializer/serializer sourced from the static GsonBuilder.
|
APIResponse |
invoke(APIRequest request)
Invokes the given method specified in the API request object.
|
protected IAdaptiveRPGroup apiGroup
public final IAdaptiveRPGroup getAPIGroup()
getAPIGroup in interface IAdaptiveRPpublic java.lang.String getAPIVersion()
getAPIVersion in interface IAdaptiveRPpublic final com.google.gson.Gson getJSONParser()
public APIResponse invoke(APIRequest request)
request - APIRequest object containing method name and parameters.