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

    All Methods Static Methods Concrete Methods Deprecated Methods
    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 Detail

    - #### ThrottlePolicyProcessor

          public ThrottlePolicyProcessor()

      Deprecated.

  - ### Method Detail

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