|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.rest.api.stub.RestApiAdminCallbackHandler
public abstract class RestApiAdminCallbackHandler
RestApiAdminCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
| Field Summary | |
|---|---|
protected Object |
clientData
|
| Constructor Summary | |
|---|---|
RestApiAdminCallbackHandler()
Please use this constructor if you don't want to set any clientData |
|
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. |
|
| Method Summary | |
|---|---|
Object |
getClientData()
Get the client data |
void |
receiveErroraddApi(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addApi operation |
void |
receiveErroraddApiForTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addApiForTenant operation |
void |
receiveErroraddApiFromString(Exception e)
auto generated Axis2 Error handler override this method for handling error response from addApiFromString operation |
void |
receiveErrordeleteApi(Exception e)
auto generated Axis2 Error handler override this method for handling error response from deleteApi operation |
void |
receiveErrordeleteApiForTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from deleteApiForTenant operation |
void |
receiveErrorgetApiByName(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApiByName operation |
void |
receiveErrorgetAPICount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAPICount operation |
void |
receiveErrorgetApiForTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApiForTenant operation |
void |
receiveErrorgetApiNames(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApiNames operation |
void |
receiveErrorgetAPIsForListing(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAPIsForListing operation |
void |
receiveErrorgetApiSource(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getApiSource operation |
void |
receiveErrorgetResourceSource(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getResourceSource operation |
void |
receiveErrorgetSequences(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getSequences operation |
void |
receiveErrorgetServerContext(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getServerContext operation |
void |
receiveErrorupdateApi(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateApi operation |
void |
receiveErrorupdateApiForTenant(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateApiForTenant operation |
void |
receiveErrorupdateApiFromString(Exception e)
auto generated Axis2 Error handler override this method for handling error response from updateApiFromString operation |
void |
receiveResultaddApi(boolean result)
auto generated Axis2 call back method for addApi method override this method for handling normal response from addApi operation |
void |
receiveResultaddApiForTenant(boolean result)
auto generated Axis2 call back method for addApiForTenant method override this method for handling normal response from addApiForTenant operation |
void |
receiveResultaddApiFromString(boolean result)
auto generated Axis2 call back method for addApiFromString method override this method for handling normal response from addApiFromString operation |
void |
receiveResultdeleteApi(boolean result)
auto generated Axis2 call back method for deleteApi method override this method for handling normal response from deleteApi operation |
void |
receiveResultdeleteApiForTenant(boolean result)
auto generated Axis2 call back method for deleteApiForTenant method override this method for handling normal response from deleteApiForTenant operation |
void |
receiveResultgetApiByName(APIData result)
auto generated Axis2 call back method for getApiByName method override this method for handling normal response from getApiByName operation |
void |
receiveResultgetAPICount(int result)
auto generated Axis2 call back method for getAPICount method override this method for handling normal response from getAPICount operation |
void |
receiveResultgetApiForTenant(APIData result)
auto generated Axis2 call back method for getApiForTenant method override this method for handling normal response from getApiForTenant operation |
void |
receiveResultgetApiNames(String[] result)
auto generated Axis2 call back method for getApiNames method override this method for handling normal response from getApiNames operation |
void |
receiveResultgetAPIsForListing(APIData[] result)
auto generated Axis2 call back method for getAPIsForListing method override this method for handling normal response from getAPIsForListing operation |
void |
receiveResultgetApiSource(String result)
auto generated Axis2 call back method for getApiSource method override this method for handling normal response from getApiSource operation |
void |
receiveResultgetResourceSource(String result)
auto generated Axis2 call back method for getResourceSource method override this method for handling normal response from getResourceSource operation |
void |
receiveResultgetSequences(String[] result)
auto generated Axis2 call back method for getSequences method override this method for handling normal response from getSequences operation |
void |
receiveResultgetServerContext(String result)
auto generated Axis2 call back method for getServerContext method override this method for handling normal response from getServerContext operation |
void |
receiveResultupdateApi(boolean result)
auto generated Axis2 call back method for updateApi method override this method for handling normal response from updateApi operation |
void |
receiveResultupdateApiForTenant(boolean result)
auto generated Axis2 call back method for updateApiForTenant method override this method for handling normal response from updateApiForTenant operation |
void |
receiveResultupdateApiFromString(boolean result)
auto generated Axis2 call back method for updateApiFromString method override this method for handling normal response from updateApiFromString operation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Object clientData
| Constructor Detail |
|---|
public RestApiAdminCallbackHandler(Object clientData)
clientData - Object mechanism by which the user can pass in user data
that will be avilable at the time this callback is called.public RestApiAdminCallbackHandler()
| Method Detail |
|---|
public Object getClientData()
public void receiveResultdeleteApi(boolean result)
public void receiveErrordeleteApi(Exception e)
public void receiveResultaddApiForTenant(boolean result)
public void receiveErroraddApiForTenant(Exception e)
public void receiveResultupdateApiForTenant(boolean result)
public void receiveErrorupdateApiForTenant(Exception e)
public void receiveResultgetApiSource(String result)
public void receiveErrorgetApiSource(Exception e)
public void receiveResultaddApi(boolean result)
public void receiveErroraddApi(Exception e)
public void receiveResultgetServerContext(String result)
public void receiveErrorgetServerContext(Exception e)
public void receiveResultaddApiFromString(boolean result)
public void receiveErroraddApiFromString(Exception e)
public void receiveResultgetApiByName(APIData result)
public void receiveErrorgetApiByName(Exception e)
public void receiveResultgetAPIsForListing(APIData[] result)
public void receiveErrorgetAPIsForListing(Exception e)
public void receiveResultgetAPICount(int result)
public void receiveErrorgetAPICount(Exception e)
public void receiveResultupdateApiFromString(boolean result)
public void receiveErrorupdateApiFromString(Exception e)
public void receiveResultupdateApi(boolean result)
public void receiveErrorupdateApi(Exception e)
public void receiveResultgetResourceSource(String result)
public void receiveErrorgetResourceSource(Exception e)
public void receiveResultgetApiForTenant(APIData result)
public void receiveErrorgetApiForTenant(Exception e)
public void receiveResultgetSequences(String[] result)
public void receiveErrorgetSequences(Exception e)
public void receiveResultgetApiNames(String[] result)
public void receiveErrorgetApiNames(Exception e)
public void receiveResultdeleteApiForTenant(boolean result)
public void receiveErrordeleteApiForTenant(Exception e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||