Class PayloadProcessor
java.lang.Object
com.sap.cds.adapter.odata.v2.processors.request.PayloadProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocessRequestPayload(EdmType edmType, ODataEntry odataEntry) Certain primitive types like UUID, Time, DateTime, DateTimeOffset and Date have to be converted to String, Instant since Olingo V2 does not support Java8 date and Time data types.
-
Constructor Details
-
PayloadProcessor
public PayloadProcessor()
-
-
Method Details
-
processRequestPayload
Certain primitive types like UUID, Time, DateTime, DateTimeOffset and Date have to be converted to String, Instant since Olingo V2 does not support Java8 date and Time data types. Also, the conversion should happen for parent entity + all levels of child entity- Parameters:
edmType- EdmTypeodataEntry- ODataEntry- Returns:
- Map which includes converted values
-