Interface EntityComplexPropertyProcessor
- All Superinterfaces:
ODataProcessor
- All Known Implementing Classes:
ODataSingleProcessor
Execute a OData complex property request.
-
Method Summary
Modifier and TypeMethodDescriptionreadEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType) Reads a complex property of an entity.updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) Updates a complex property of an entity.Methods inherited from interface org.apache.olingo.odata2.api.processor.ODataProcessor
getContext, setContext
-
Method Details
-
readEntityComplexProperty
ODataResponse readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType) throws ODataException Reads a complex property of an entity.- Parameters:
uriInfo- information about the request URIcontentType- the content type of the response- Returns:
- a
ODataResponseobject - Throws:
ODataException
-
updateEntityComplexProperty
ODataResponse updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) throws ODataException Updates a complex property of an entity.- Parameters:
uriInfo- information about the request URIcontent- the content of the request, containing the updated property datarequestContentType- the content type of the request bodymerge- iftrue, properties not present in the data are left unchanged; iffalse, they are resetcontentType- the content type of the response- Returns:
- a
ODataResponseobject - Throws:
ODataException
-