# Deprecated API

## Contents

- Classes
- Fields
- Methods

- Deprecated Classes
  Class
  Description
  org.apache.synapse.commons.throttle.core.ThrottlePolicyProcessor
  The class for processing policy that specify throttle configuration
  org.apache.synapse.commons.util.TemporaryData
  this class is deprecated and will be removed from the next release, please use the `OverflowBlob` from axiom instead

- Deprecated Fields
  Field
  Description
  org.apache.synapse.commons.throttle.core.ThrottleConstants.ISALLOW_PARAMETER_NAME
  org.apache.synapse.commons.throttle.core.ThrottleConstants.THROTTLE_ASSERTION_QNAME

- Deprecated Methods
  Method
  Description
  org.apache.synapse.commons.json.JsonBuilder.toXml(InputStream, boolean)
  Use `JsonUtil.toXml(java.io.InputStream, boolean)`
  org.apache.synapse.commons.json.JsonFormatter.toJson(OMElement, OutputStream)
  Use `JsonUtil.writeAsJson(org.apache.axiom.om.OMElement, java.io.OutputStream)`
  org.apache.synapse.commons.json.JsonStreamFormatter.toJson(MessageContext, OutputStream)
  Use `JsonUtil.writeAsJson(org.apache.axis2.context.MessageContext, java.io.OutputStream)`
  org.apache.synapse.commons.json.JsonUtil.newJsonPayload(MessageContext, byte[], int, int, boolean, boolean)
  org.apache.synapse.commons.json.JsonUtil.newJsonPayload(MessageContext, InputStream, boolean, boolean)
  org.apache.synapse.commons.json.JsonUtil.newJsonPayload(MessageContext, String, boolean, boolean)
  org.apache.synapse.commons.throttle.core.ThrottlePolicyProcessor.processPolicy(Policy)
  process policy and returns throttle object