public class RestApiAdminClient extends Object
| Constructor and Description |
|---|
RestApiAdminClient(String backEndUrl,
String sessionCookie) |
RestApiAdminClient(String backEndUrl,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(org.apache.axiom.om.OMElement apiData) |
boolean |
addAPI(org.wso2.carbon.rest.api.stub.types.carbon.APIData apiData) |
boolean |
addAPIFromTenant(String apiData,
String tenantDomain) |
void |
deleteAllApis() |
boolean |
deleteApi(String apiName) |
boolean |
deleteApiForTenant(String apiName,
String tenant) |
String |
disableStatisticsForAPI(String apiName) |
String |
disableTracingForAPI(String apiName) |
String |
enableStatisticsForAPI(String apiName) |
String |
enableTracingForAPI(String apiName) |
org.wso2.carbon.rest.api.stub.types.carbon.APIData |
getAPIbyName(String apiName) |
int |
getAPICount() |
org.wso2.carbon.rest.api.stub.types.carbon.APIData |
getAPIForTenantByName(String apiName,
String tenantDomain) |
org.wso2.carbon.rest.api.stub.types.carbon.APIData[] |
getAPIList(int page,
int count) |
String[] |
getApiNames() |
String |
getAPIResource(org.wso2.carbon.rest.api.stub.types.carbon.ResourceData resourceData) |
String[] |
getAPISequences() |
String |
getAPISource(org.wso2.carbon.rest.api.stub.types.carbon.APIData apiData) |
String |
getServerContext() |
boolean |
updateAPIForTenant(String apiName,
String updateData,
String tenant) |
boolean |
updateAPIFromAPIData(String apiName,
org.wso2.carbon.rest.api.stub.types.carbon.APIData apiData) |
boolean |
updateAPIFromString(String apiName,
String updateData) |
public RestApiAdminClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFaultpublic boolean add(org.apache.axiom.om.OMElement apiData)
throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException,
RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic boolean deleteApi(String apiName) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic boolean deleteApiForTenant(String apiName, String tenant) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String[] getApiNames() throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String getServerContext() throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic boolean addAPI(org.wso2.carbon.rest.api.stub.types.carbon.APIData apiData)
throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException,
RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic boolean addAPIFromTenant(String apiData, String tenantDomain) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic org.wso2.carbon.rest.api.stub.types.carbon.APIData getAPIbyName(String apiName) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic org.wso2.carbon.rest.api.stub.types.carbon.APIData getAPIForTenantByName(String apiName, String tenantDomain) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic boolean updateAPIFromString(String apiName, String updateData) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic boolean updateAPIFromAPIData(String apiName, org.wso2.carbon.rest.api.stub.types.carbon.APIData apiData) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic boolean updateAPIForTenant(String apiName, String updateData, String tenant) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic void deleteAllApis()
throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException,
RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic int getAPICount()
throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException,
RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String getAPISource(org.wso2.carbon.rest.api.stub.types.carbon.APIData apiData) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String[] getAPISequences() throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String enableStatisticsForAPI(String apiName) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String disableStatisticsForAPI(String apiName) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String enableTracingForAPI(String apiName) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String disableTracingForAPI(String apiName) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic org.wso2.carbon.rest.api.stub.types.carbon.APIData[] getAPIList(int page,
int count)
throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException,
RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionpublic String getAPIResource(org.wso2.carbon.rest.api.stub.types.carbon.ResourceData resourceData) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteExceptionCopyright © 2019 WSO2. All rights reserved.