org.apache.synapse.commons.throttle.core

## Class ThrottlePolicyProcessor

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

- Deprecated.
  The class for processing policy that specify throttle configuration

      public class ThrottlePolicyProcessor
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ThrottlePolicyProcessor()` Deprecated.

  - ### Method Summary

    All Methods Static Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and 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

Copyright © 2005–2019 Apache Software Foundation. All rights reserved.