Class OperationLevelThrottleHandler
- java.lang.Object
-
- org.apache.axis2.handlers.AbstractHandler
-
- org.apache.synapse.commons.throttle.module.handler.ThrottleHandler
-
- org.apache.synapse.commons.throttle.module.handler.OperationLevelThrottleHandler
-
- All Implemented Interfaces:
org.apache.axis2.engine.Handler
public class OperationLevelThrottleHandler extends ThrottleHandler
-
-
Field Summary
-
Fields inherited from class org.apache.synapse.commons.throttle.module.handler.ThrottleHandler
THROTTLING_CACHE, THROTTLING_CACHE_MANAGER
-
-
Constructor Summary
Constructors Constructor Description OperationLevelThrottleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getThrottleType()
org.apache.axis2.engine.Handler.InvocationResponse
invoke(org.apache.axis2.context.MessageContext msgContext)
-
Methods inherited from class org.apache.synapse.commons.throttle.module.handler.ThrottleHandler
loadThrottle, process
-
-
-
-
Method Detail
-
getThrottleType
public int getThrottleType()
- Specified by:
getThrottleType
in classThrottleHandler
- Returns:
- int - indicates the type of the throttle according to the scope
-
invoke
public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext) throws org.apache.axis2.AxisFault
- Specified by:
invoke
in interfaceorg.apache.axis2.engine.Handler
- Overrides:
invoke
in classThrottleHandler
- Throws:
org.apache.axis2.AxisFault
-
-