Class ThrottleClient


  • public class ThrottleClient
    extends Object
    • Constructor Detail

      • ThrottleClient

        public ThrottleClient​(String cookie,
                              String backendServerURL,
                              org.apache.axis2.context.ConfigurationContext configCtx,
                              Locale locale)
                       throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
    • Method Detail

      • getExistingConfigs

        public org.wso2.carbon.mediators.throttle.admin.stub.types.ThrottlePolicy getExistingConfigs​(javax.servlet.http.HttpServletRequest request,
                                                                                                     boolean global,
                                                                                                     boolean operationLevel)
                                                                                              throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • toThrottlePolicy

        public org.wso2.carbon.mediators.throttle.admin.stub.types.ThrottlePolicy toThrottlePolicy​(String xml,
                                                                                                   String loadDefault)
                                                                                            throws RemoteException,
                                                                                                   org.wso2.carbon.mediators.throttle.admin.stub.ThrottleComponentExceptionException
        Throws:
        RemoteException
        org.wso2.carbon.mediators.throttle.admin.stub.ThrottleComponentExceptionException
      • throttlePolicyToString

        public String throttlePolicyToString​(org.wso2.carbon.mediators.throttle.admin.stub.types.ThrottlePolicy throttlePolicy)
                                      throws RemoteException,
                                             org.wso2.carbon.mediators.throttle.admin.stub.ThrottleComponentExceptionException
        Throws:
        RemoteException
        org.wso2.carbon.mediators.throttle.admin.stub.ThrottleComponentExceptionException