# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods

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

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

- Deprecated Methods
  Method and Description
  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
  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.JsonFormatter.toJson(OMElement, OutputStream) Use `JsonUtil.writeAsJson(org.apache.axiom.om.OMElement, java.io.OutputStream)`
  org.apache.synapse.commons.json.JsonBuilder.toXml(InputStream, boolean) Use `JsonUtil.toXml(java.io.InputStream, boolean)`

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