Class ThrottleAdminServiceCallbackHandler
- java.lang.Object
-
- org.wso2.carbon.mediators.throttle.admin.stub.ThrottleAdminServiceCallbackHandler
-
public abstract class ThrottleAdminServiceCallbackHandler extends Object
ThrottleAdminServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
clientData
-
Constructor Summary
Constructors Constructor Description ThrottleAdminServiceCallbackHandler()
Please use this constructor if you don't want to set any clientDataThrottleAdminServiceCallbackHandler(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 Object
getClientData()
Get the client datavoid
receiveErrordisengageThrottlingForOperation(Exception e)
auto generated Axis2 Error handler override this method for handling error response from disengageThrottlingForOperation operationvoid
receiveErrorengageThrottlingForOperation(Exception e)
auto generated Axis2 Error handler override this method for handling error response from engageThrottlingForOperation operationvoid
receiveErrorgetGlobalPolicyConfigs(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getGlobalPolicyConfigs operationvoid
receiveErrorgetOperationPolicyConfigs(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getOperationPolicyConfigs operationvoid
receiveErrorgetPolicyConfigs(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getPolicyConfigs operationvoid
receiveErrorthrottlePolicyToString(Exception e)
auto generated Axis2 Error handler override this method for handling error response from throttlePolicyToString operationvoid
receiveErrortoThrottlePolicy(Exception e)
auto generated Axis2 Error handler override this method for handling error response from toThrottlePolicy operationvoid
receiveResultdisengageThrottlingForOperation(boolean result)
auto generated Axis2 call back method for disengageThrottlingForOperation method override this method for handling normal response from disengageThrottlingForOperation operationvoid
receiveResultengageThrottlingForOperation(boolean result)
auto generated Axis2 call back method for engageThrottlingForOperation method override this method for handling normal response from engageThrottlingForOperation operationvoid
receiveResultgetGlobalPolicyConfigs(ThrottlePolicy result)
auto generated Axis2 call back method for getGlobalPolicyConfigs method override this method for handling normal response from getGlobalPolicyConfigs operationvoid
receiveResultgetOperationPolicyConfigs(ThrottlePolicy result)
auto generated Axis2 call back method for getOperationPolicyConfigs method override this method for handling normal response from getOperationPolicyConfigs operationvoid
receiveResultgetPolicyConfigs(ThrottlePolicy result)
auto generated Axis2 call back method for getPolicyConfigs method override this method for handling normal response from getPolicyConfigs operationvoid
receiveResultthrottlePolicyToString(String result)
auto generated Axis2 call back method for throttlePolicyToString method override this method for handling normal response from throttlePolicyToString operationvoid
receiveResulttoThrottlePolicy(ThrottlePolicy result)
auto generated Axis2 call back method for toThrottlePolicy method override this method for handling normal response from toThrottlePolicy operation
-
-
-
Field Detail
-
clientData
protected Object clientData
-
-
Constructor Detail
-
ThrottleAdminServiceCallbackHandler
public ThrottleAdminServiceCallbackHandler(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.
-
ThrottleAdminServiceCallbackHandler
public ThrottleAdminServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData
-
-
Method Detail
-
getClientData
public Object getClientData()
Get the client data
-
receiveResultengageThrottlingForOperation
public void receiveResultengageThrottlingForOperation(boolean result)
auto generated Axis2 call back method for engageThrottlingForOperation method override this method for handling normal response from engageThrottlingForOperation operation
-
receiveErrorengageThrottlingForOperation
public void receiveErrorengageThrottlingForOperation(Exception e)
auto generated Axis2 Error handler override this method for handling error response from engageThrottlingForOperation operation
-
receiveResulttoThrottlePolicy
public void receiveResulttoThrottlePolicy(ThrottlePolicy result)
auto generated Axis2 call back method for toThrottlePolicy method override this method for handling normal response from toThrottlePolicy operation
-
receiveErrortoThrottlePolicy
public void receiveErrortoThrottlePolicy(Exception e)
auto generated Axis2 Error handler override this method for handling error response from toThrottlePolicy operation
-
receiveResultdisengageThrottlingForOperation
public void receiveResultdisengageThrottlingForOperation(boolean result)
auto generated Axis2 call back method for disengageThrottlingForOperation method override this method for handling normal response from disengageThrottlingForOperation operation
-
receiveErrordisengageThrottlingForOperation
public void receiveErrordisengageThrottlingForOperation(Exception e)
auto generated Axis2 Error handler override this method for handling error response from disengageThrottlingForOperation operation
-
receiveResultthrottlePolicyToString
public void receiveResultthrottlePolicyToString(String result)
auto generated Axis2 call back method for throttlePolicyToString method override this method for handling normal response from throttlePolicyToString operation
-
receiveErrorthrottlePolicyToString
public void receiveErrorthrottlePolicyToString(Exception e)
auto generated Axis2 Error handler override this method for handling error response from throttlePolicyToString operation
-
receiveResultgetGlobalPolicyConfigs
public void receiveResultgetGlobalPolicyConfigs(ThrottlePolicy result)
auto generated Axis2 call back method for getGlobalPolicyConfigs method override this method for handling normal response from getGlobalPolicyConfigs operation
-
receiveErrorgetGlobalPolicyConfigs
public void receiveErrorgetGlobalPolicyConfigs(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getGlobalPolicyConfigs operation
-
receiveResultgetPolicyConfigs
public void receiveResultgetPolicyConfigs(ThrottlePolicy result)
auto generated Axis2 call back method for getPolicyConfigs method override this method for handling normal response from getPolicyConfigs operation
-
receiveErrorgetPolicyConfigs
public void receiveErrorgetPolicyConfigs(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getPolicyConfigs operation
-
receiveResultgetOperationPolicyConfigs
public void receiveResultgetOperationPolicyConfigs(ThrottlePolicy result)
auto generated Axis2 call back method for getOperationPolicyConfigs method override this method for handling normal response from getOperationPolicyConfigs operation
-
receiveErrorgetOperationPolicyConfigs
public void receiveErrorgetOperationPolicyConfigs(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getOperationPolicyConfigs operation
-
-