Class ThrottleMediatorSerializer
java.lang.Object
org.apache.synapse.config.xml.AbstractMediatorSerializer
org.apache.synapse.mediators.throttle.ThrottleMediatorSerializer
- All Implemented Interfaces:
org.apache.synapse.config.xml.MediatorSerializer
public class ThrottleMediatorSerializer
extends org.apache.synapse.config.xml.AbstractMediatorSerializer
The Serializer for Throttle Mediator saving throttle instance
<throttle [onReject="string"] [onAccept="string"] id="string">
(<policy key="string"/> | <policy>..</policy>)
<onReject>..</onReject>?
<onAccept>..</onAccept>?
</throttle>
-
Field Summary
Fields inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer
DESCRIPTION_Q, fac, log, nullNS, PROP_Q, synNS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.axiom.om.OMElementserializeSpecificMediator(org.apache.synapse.Mediator m) Methods inherited from class org.apache.synapse.config.xml.AbstractMediatorSerializer
handleException, handleException, saveTracingState, serializeComments, serializeComments, serializeMediator, serializeMediatorProperties, serializeMediatorProperties, serializeNamespaces, serializeProperties
-
Constructor Details
-
ThrottleMediatorSerializer
public ThrottleMediatorSerializer()
-
-
Method Details
-
serializeSpecificMediator
public org.apache.axiom.om.OMElement serializeSpecificMediator(org.apache.synapse.Mediator m) - Specified by:
serializeSpecificMediatorin classorg.apache.synapse.config.xml.AbstractMediatorSerializer
-
getMediatorClassName
-