Package org.drip.service.engine
Class RequestResponseDecorator
java.lang.Object
org.drip.service.engine.RequestResponseDecorator
public class RequestResponseDecorator
extends java.lang.Object
RequestResponseDecorator contains the Functionality behind the DROP API Compute Service Engine
Request and Response Header Fields Affixing/Decoration.
- Module = Computational Core Module
- Library = Computation Support
- Project = Environment, Product/Definition Containers, and Scenario/State Manipulation APIs
- Package = Compute Engine Request-Response Thunker
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description RequestResponseDecorator()
-
Method Summary
Modifier and Type Method Description static boolean
AffixRequestHeaders(JSONObject jsonRequest)
Affix the Headers on the JSON Requeststatic boolean
AffixResponseHeaders(JSONObject jsonResponse, JSONObject jsonRequest)
Affix the Headers on the JSON ResponseMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RequestResponseDecorator
public RequestResponseDecorator()
-
-
Method Details
-
AffixRequestHeaders
Affix the Headers on the JSON Request- Parameters:
jsonRequest
- The JSON Request- Returns:
- TRUE - The Headers successfully affixed
-
AffixResponseHeaders
Affix the Headers on the JSON Response- Parameters:
jsonResponse
- The JSON ResponsejsonRequest
- The JSON Request- Returns:
- TRUE - The Headers successfully affixed
-