Class RestApiAdminClient
- java.lang.Object
-
- org.wso2.am.admin.clients.rest.api.RestApiAdminClient
-
public class RestApiAdminClient extends Object
-
-
Constructor Summary
Constructors Constructor Description RestApiAdminClient(String backEndUrl, String sessionCookie)RestApiAdminClient(String backEndUrl, String userName, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(org.apache.axiom.om.OMElement apiData)booleandeleteApi(String apiName)String[]getApiNames()
-
-
-
Method Detail
-
add
public boolean add(org.apache.axiom.om.OMElement apiData) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException- Throws:
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteException
-
deleteApi
public boolean deleteApi(String apiName) throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
- Throws:
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteException
-
getApiNames
public String[] getApiNames() throws org.wso2.carbon.rest.api.stub.RestApiAdminAPIException, RemoteException
- Throws:
org.wso2.carbon.rest.api.stub.RestApiAdminAPIExceptionRemoteException
-
-