Package org.apache.synapse.commons.throttle.core

# 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 Summary

  Constructors
  Constructor
  Description
  `ThrottlePolicyProcessor()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Throttle`
  `processPolicy(org.apache.neethi.Policy policy)`
  Deprecated.
  process policy and returns throttle object

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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