Class ThrottlePolicyProcessor

java.lang.Object
org.apache.synapse.commons.throttle.core.ThrottlePolicyProcessor

public class ThrottlePolicyProcessor extends Object
Deprecated.
The class for processing policy that specify throttle configuration
  • Constructor Details

    • ThrottlePolicyProcessor

      public ThrottlePolicyProcessor()
      Deprecated.
  • Method Details

    • processPolicy

      public static Throttle processPolicy(org.apache.neethi.Policy policy) throws ThrottleException
      Deprecated.
      process policy and returns throttle object
      Parameters:
      policy - - policy for throttle
      Returns:
      Throttle - An object which holds Mata-Data about throttle
      Throws:
      ThrottleException - - throws for errors in policy processing - ex : invalid policy