Class ThrottleAdminServiceCallbackHandler


  • public abstract class ThrottleAdminServiceCallbackHandler
    extends Object
    ThrottleAdminServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
    • 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