Class GlobalThrottleHandler
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.synapse.commons.throttle.module.handler.ThrottleHandler
org.apache.synapse.commons.throttle.module.handler.GlobalThrottleHandler
- All Implemented Interfaces:
org.apache.axis2.engine.Handler
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
org.apache.axis2.engine.Handler.InvocationResponse -
Field Summary
Fields inherited from class org.apache.synapse.commons.throttle.module.handler.ThrottleHandler
THROTTLING_CACHE, THROTTLING_CACHE_MANAGERFields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintorg.apache.axis2.engine.Handler.InvocationResponseinvoke(org.apache.axis2.context.MessageContext msgContext) Methods inherited from class org.apache.synapse.commons.throttle.module.handler.ThrottleHandler
loadThrottle, processMethods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, init, toString
-
Constructor Details
-
GlobalThrottleHandler
public GlobalThrottleHandler()
-
-
Method Details
-
getThrottleType
public int getThrottleType()- Specified by:
getThrottleTypein 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:
invokein interfaceorg.apache.axis2.engine.Handler- Overrides:
invokein classThrottleHandler- Throws:
org.apache.axis2.AxisFault
-