Package org.wso2.carbon.rest.api.stub
Class RestApiAdminCallbackHandler
- java.lang.Object
-
- org.wso2.carbon.rest.api.stub.RestApiAdminCallbackHandler
-
public abstract class RestApiAdminCallbackHandler extends Object
RestApiAdminCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectclientData
-
Constructor Summary
Constructors Constructor Description RestApiAdminCallbackHandler()Please use this constructor if you don't want to set any clientDataRestApiAdminCallbackHandler(Object clientData)User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetClientData()Get the client datavoidreceiveErroraddApi(Exception e)auto generated Axis2 Error handler override this method for handling error response from addApi operationvoidreceiveErroraddApiForTenant(Exception e)auto generated Axis2 Error handler override this method for handling error response from addApiForTenant operationvoidreceiveErroraddApiFromString(Exception e)auto generated Axis2 Error handler override this method for handling error response from addApiFromString operationvoidreceiveErrordeleteApi(Exception e)auto generated Axis2 Error handler override this method for handling error response from deleteApi operationvoidreceiveErrordeleteApiForTenant(Exception e)auto generated Axis2 Error handler override this method for handling error response from deleteApiForTenant operationvoidreceiveErrordisableStatistics(Exception e)auto generated Axis2 Error handler override this method for handling error response from disableStatistics operationvoidreceiveErrordisableTracing(Exception e)auto generated Axis2 Error handler override this method for handling error response from disableTracing operationvoidreceiveErrorenableStatistics(Exception e)auto generated Axis2 Error handler override this method for handling error response from enableStatistics operationvoidreceiveErrorenableTracing(Exception e)auto generated Axis2 Error handler override this method for handling error response from enableTracing operationvoidreceiveErrorgenerateAPIFromSwagger(Exception e)auto generated Axis2 Error handler override this method for handling error response from generateAPIFromSwagger operationvoidreceiveErrorgenerateUpdatedAPIFromSwagger(Exception e)auto generated Axis2 Error handler override this method for handling error response from generateUpdatedAPIFromSwagger operationvoidreceiveErrorgetApiByName(Exception e)auto generated Axis2 Error handler override this method for handling error response from getApiByName operationvoidreceiveErrorgetAPICount(Exception e)auto generated Axis2 Error handler override this method for handling error response from getAPICount operationvoidreceiveErrorgetApiForTenant(Exception e)auto generated Axis2 Error handler override this method for handling error response from getApiForTenant operationvoidreceiveErrorgetApiNames(Exception e)auto generated Axis2 Error handler override this method for handling error response from getApiNames operationvoidreceiveErrorgetAPIsForListing(Exception e)auto generated Axis2 Error handler override this method for handling error response from getAPIsForListing operationvoidreceiveErrorgetApiSource(Exception e)auto generated Axis2 Error handler override this method for handling error response from getApiSource operationvoidreceiveErrorgetResourceSource(Exception e)auto generated Axis2 Error handler override this method for handling error response from getResourceSource operationvoidreceiveErrorgetSequences(Exception e)auto generated Axis2 Error handler override this method for handling error response from getSequences operationvoidreceiveErrorgetServerContext(Exception e)auto generated Axis2 Error handler override this method for handling error response from getServerContext operationvoidreceiveErrorgetSwaggerDocument(Exception e)auto generated Axis2 Error handler override this method for handling error response from getSwaggerDocument operationvoidreceiveErrorupdateApi(Exception e)auto generated Axis2 Error handler override this method for handling error response from updateApi operationvoidreceiveErrorupdateApiForTenant(Exception e)auto generated Axis2 Error handler override this method for handling error response from updateApiForTenant operationvoidreceiveErrorupdateApiFromString(Exception e)auto generated Axis2 Error handler override this method for handling error response from updateApiFromString operationvoidreceiveResultaddApi(boolean result)auto generated Axis2 call back method for addApi method override this method for handling normal response from addApi operationvoidreceiveResultaddApiForTenant(boolean result)auto generated Axis2 call back method for addApiForTenant method override this method for handling normal response from addApiForTenant operationvoidreceiveResultaddApiFromString(boolean result)auto generated Axis2 call back method for addApiFromString method override this method for handling normal response from addApiFromString operationvoidreceiveResultdeleteApi(boolean result)auto generated Axis2 call back method for deleteApi method override this method for handling normal response from deleteApi operationvoidreceiveResultdeleteApiForTenant(boolean result)auto generated Axis2 call back method for deleteApiForTenant method override this method for handling normal response from deleteApiForTenant operationvoidreceiveResultdisableStatistics(String result)auto generated Axis2 call back method for disableStatistics method override this method for handling normal response from disableStatistics operationvoidreceiveResultdisableTracing(String result)auto generated Axis2 call back method for disableTracing method override this method for handling normal response from disableTracing operationvoidreceiveResultenableStatistics(String result)auto generated Axis2 call back method for enableStatistics method override this method for handling normal response from enableStatistics operationvoidreceiveResultenableTracing(String result)auto generated Axis2 call back method for enableTracing method override this method for handling normal response from enableTracing operationvoidreceiveResultgenerateAPIFromSwagger(String result)auto generated Axis2 call back method for generateAPIFromSwagger method override this method for handling normal response from generateAPIFromSwagger operationvoidreceiveResultgenerateUpdatedAPIFromSwagger(String result)auto generated Axis2 call back method for generateUpdatedAPIFromSwagger method override this method for handling normal response from generateUpdatedAPIFromSwagger operationvoidreceiveResultgetApiByName(APIData result)auto generated Axis2 call back method for getApiByName method override this method for handling normal response from getApiByName operationvoidreceiveResultgetAPICount(int result)auto generated Axis2 call back method for getAPICount method override this method for handling normal response from getAPICount operationvoidreceiveResultgetApiForTenant(APIData result)auto generated Axis2 call back method for getApiForTenant method override this method for handling normal response from getApiForTenant operationvoidreceiveResultgetApiNames(String[] result)auto generated Axis2 call back method for getApiNames method override this method for handling normal response from getApiNames operationvoidreceiveResultgetAPIsForListing(APIData[] result)auto generated Axis2 call back method for getAPIsForListing method override this method for handling normal response from getAPIsForListing operationvoidreceiveResultgetApiSource(String result)auto generated Axis2 call back method for getApiSource method override this method for handling normal response from getApiSource operationvoidreceiveResultgetResourceSource(String result)auto generated Axis2 call back method for getResourceSource method override this method for handling normal response from getResourceSource operationvoidreceiveResultgetSequences(String[] result)auto generated Axis2 call back method for getSequences method override this method for handling normal response from getSequences operationvoidreceiveResultgetServerContext(String result)auto generated Axis2 call back method for getServerContext method override this method for handling normal response from getServerContext operationvoidreceiveResultgetSwaggerDocument(String result)auto generated Axis2 call back method for getSwaggerDocument method override this method for handling normal response from getSwaggerDocument operationvoidreceiveResultupdateApi(boolean result)auto generated Axis2 call back method for updateApi method override this method for handling normal response from updateApi operationvoidreceiveResultupdateApiForTenant(boolean result)auto generated Axis2 call back method for updateApiForTenant method override this method for handling normal response from updateApiForTenant operationvoidreceiveResultupdateApiFromString(boolean result)auto generated Axis2 call back method for updateApiFromString method override this method for handling normal response from updateApiFromString operation
-
-
-
Field Detail
-
clientData
protected Object clientData
-
-
Constructor Detail
-
RestApiAdminCallbackHandler
public RestApiAdminCallbackHandler(Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.- Parameters:
clientData- Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.
-
RestApiAdminCallbackHandler
public RestApiAdminCallbackHandler()
Please use this constructor if you don't want to set any clientData
-
-
Method Detail
-
getClientData
public Object getClientData()
Get the client data
-
receiveResultupdateApiFromString
public void receiveResultupdateApiFromString(boolean result)
auto generated Axis2 call back method for updateApiFromString method override this method for handling normal response from updateApiFromString operation
-
receiveErrorupdateApiFromString
public void receiveErrorupdateApiFromString(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateApiFromString operation
-
receiveResultgenerateUpdatedAPIFromSwagger
public void receiveResultgenerateUpdatedAPIFromSwagger(String result)
auto generated Axis2 call back method for generateUpdatedAPIFromSwagger method override this method for handling normal response from generateUpdatedAPIFromSwagger operation
-
receiveErrorgenerateUpdatedAPIFromSwagger
public void receiveErrorgenerateUpdatedAPIFromSwagger(Exception e)
auto generated Axis2 Error handler override this method for handling error response from generateUpdatedAPIFromSwagger operation
-
receiveResultdeleteApi
public void receiveResultdeleteApi(boolean result)
auto generated Axis2 call back method for deleteApi method override this method for handling normal response from deleteApi operation
-
receiveErrordeleteApi
public void receiveErrordeleteApi(Exception e)
auto generated Axis2 Error handler override this method for handling error response from deleteApi operation
-
receiveResultgetApiByName
public void receiveResultgetApiByName(APIData result)
auto generated Axis2 call back method for getApiByName method override this method for handling normal response from getApiByName operation
-
receiveErrorgetApiByName
public void receiveErrorgetApiByName(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApiByName operation
-
receiveResultdisableTracing
public void receiveResultdisableTracing(String result)
auto generated Axis2 call back method for disableTracing method override this method for handling normal response from disableTracing operation
-
receiveErrordisableTracing
public void receiveErrordisableTracing(Exception e)
auto generated Axis2 Error handler override this method for handling error response from disableTracing operation
-
receiveResultgetAPIsForListing
public void receiveResultgetAPIsForListing(APIData[] result)
auto generated Axis2 call back method for getAPIsForListing method override this method for handling normal response from getAPIsForListing operation
-
receiveErrorgetAPIsForListing
public void receiveErrorgetAPIsForListing(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAPIsForListing operation
-
receiveResultgetApiForTenant
public void receiveResultgetApiForTenant(APIData result)
auto generated Axis2 call back method for getApiForTenant method override this method for handling normal response from getApiForTenant operation
-
receiveErrorgetApiForTenant
public void receiveErrorgetApiForTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApiForTenant operation
-
receiveResultdisableStatistics
public void receiveResultdisableStatistics(String result)
auto generated Axis2 call back method for disableStatistics method override this method for handling normal response from disableStatistics operation
-
receiveErrordisableStatistics
public void receiveErrordisableStatistics(Exception e)
auto generated Axis2 Error handler override this method for handling error response from disableStatistics operation
-
receiveResultenableStatistics
public void receiveResultenableStatistics(String result)
auto generated Axis2 call back method for enableStatistics method override this method for handling normal response from enableStatistics operation
-
receiveErrorenableStatistics
public void receiveErrorenableStatistics(Exception e)
auto generated Axis2 Error handler override this method for handling error response from enableStatistics operation
-
receiveResultenableTracing
public void receiveResultenableTracing(String result)
auto generated Axis2 call back method for enableTracing method override this method for handling normal response from enableTracing operation
-
receiveErrorenableTracing
public void receiveErrorenableTracing(Exception e)
auto generated Axis2 Error handler override this method for handling error response from enableTracing operation
-
receiveResultaddApiFromString
public void receiveResultaddApiFromString(boolean result)
auto generated Axis2 call back method for addApiFromString method override this method for handling normal response from addApiFromString operation
-
receiveErroraddApiFromString
public void receiveErroraddApiFromString(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addApiFromString operation
-
receiveResultaddApiForTenant
public void receiveResultaddApiForTenant(boolean result)
auto generated Axis2 call back method for addApiForTenant method override this method for handling normal response from addApiForTenant operation
-
receiveErroraddApiForTenant
public void receiveErroraddApiForTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addApiForTenant operation
-
receiveResultdeleteApiForTenant
public void receiveResultdeleteApiForTenant(boolean result)
auto generated Axis2 call back method for deleteApiForTenant method override this method for handling normal response from deleteApiForTenant operation
-
receiveErrordeleteApiForTenant
public void receiveErrordeleteApiForTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from deleteApiForTenant operation
-
receiveResultgetSwaggerDocument
public void receiveResultgetSwaggerDocument(String result)
auto generated Axis2 call back method for getSwaggerDocument method override this method for handling normal response from getSwaggerDocument operation
-
receiveErrorgetSwaggerDocument
public void receiveErrorgetSwaggerDocument(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getSwaggerDocument operation
-
receiveResultgetSequences
public void receiveResultgetSequences(String[] result)
auto generated Axis2 call back method for getSequences method override this method for handling normal response from getSequences operation
-
receiveErrorgetSequences
public void receiveErrorgetSequences(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getSequences operation
-
receiveResultgetResourceSource
public void receiveResultgetResourceSource(String result)
auto generated Axis2 call back method for getResourceSource method override this method for handling normal response from getResourceSource operation
-
receiveErrorgetResourceSource
public void receiveErrorgetResourceSource(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getResourceSource operation
-
receiveResultgetAPICount
public void receiveResultgetAPICount(int result)
auto generated Axis2 call back method for getAPICount method override this method for handling normal response from getAPICount operation
-
receiveErrorgetAPICount
public void receiveErrorgetAPICount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAPICount operation
-
receiveResultgetApiSource
public void receiveResultgetApiSource(String result)
auto generated Axis2 call back method for getApiSource method override this method for handling normal response from getApiSource operation
-
receiveErrorgetApiSource
public void receiveErrorgetApiSource(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApiSource operation
-
receiveResultupdateApi
public void receiveResultupdateApi(boolean result)
auto generated Axis2 call back method for updateApi method override this method for handling normal response from updateApi operation
-
receiveErrorupdateApi
public void receiveErrorupdateApi(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateApi operation
-
receiveResultgetServerContext
public void receiveResultgetServerContext(String result)
auto generated Axis2 call back method for getServerContext method override this method for handling normal response from getServerContext operation
-
receiveErrorgetServerContext
public void receiveErrorgetServerContext(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getServerContext operation
-
receiveResultupdateApiForTenant
public void receiveResultupdateApiForTenant(boolean result)
auto generated Axis2 call back method for updateApiForTenant method override this method for handling normal response from updateApiForTenant operation
-
receiveErrorupdateApiForTenant
public void receiveErrorupdateApiForTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateApiForTenant operation
-
receiveResultgetApiNames
public void receiveResultgetApiNames(String[] result)
auto generated Axis2 call back method for getApiNames method override this method for handling normal response from getApiNames operation
-
receiveErrorgetApiNames
public void receiveErrorgetApiNames(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApiNames operation
-
receiveResultaddApi
public void receiveResultaddApi(boolean result)
auto generated Axis2 call back method for addApi method override this method for handling normal response from addApi operation
-
receiveErroraddApi
public void receiveErroraddApi(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addApi operation
-
receiveResultgenerateAPIFromSwagger
public void receiveResultgenerateAPIFromSwagger(String result)
auto generated Axis2 call back method for generateAPIFromSwagger method override this method for handling normal response from generateAPIFromSwagger operation
-
receiveErrorgenerateAPIFromSwagger
public void receiveErrorgenerateAPIFromSwagger(Exception e)
auto generated Axis2 Error handler override this method for handling error response from generateAPIFromSwagger operation
-
-