Class ODataProcessor
java.lang.Object
com.sap.cds.adapter.odata.v4.processors.AbstractODataProcessor
com.sap.cds.adapter.odata.v4.processors.ODataProcessor
First turns an
ODataRequest into a CdsODataRequest and passes it to the ODataProcessor.
The CdsODataResponse returned from the ODataProcessor is transformed into an ODataResponse by this class.-
Field Summary
Fields inherited from class com.sap.cds.adapter.odata.v4.processors.AbstractODataProcessor
cdsProcessor, edmUtils, globals, isBuffered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessCollectionComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessCollectionPrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessEntities(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessSingleComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessSinglePrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) voidprocessSinglePrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) Methods inherited from class com.sap.cds.adapter.odata.v4.processors.AbstractODataProcessor
checkCountOptionsOnExpand, createSerializer, createSerializerForApply, getContextUrl, getEdmProperty, isActionOrFunction, isGetStreamContext, isValueRequestOnStreamProperty, processCountRequest, processNoContentRequest, processRequest, setContentDispositionHeaderIfNotNull, setODataResponse, setODataResponse, setODataResponse
-
Constructor Details
-
ODataProcessor
-
-
Method Details
-
processEntity
public void processEntity(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) - Specified by:
processEntityin classAbstractODataProcessor
-
processEntities
public void processEntities(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) - Specified by:
processEntitiesin classAbstractODataProcessor
-
processSingleComplex
public void processSingleComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) - Specified by:
processSingleComplexin classAbstractODataProcessor
-
processCollectionComplex
public void processCollectionComplex(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) - Specified by:
processCollectionComplexin classAbstractODataProcessor
-
processSinglePrimitive
public void processSinglePrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) - Specified by:
processSinglePrimitivein classAbstractODataProcessor
-
processSinglePrimitiveValue
public void processSinglePrimitiveValue(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) - Specified by:
processSinglePrimitiveValuein classAbstractODataProcessor
-
processCollectionPrimitive
public void processCollectionPrimitive(ODataRequest odataRequest, ODataResponse odataResponse, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) - Specified by:
processCollectionPrimitivein classAbstractODataProcessor
-