Interface EntitySimplePropertyProcessor
- All Superinterfaces:
ODataProcessor
- All Known Implementing Classes:
ODataSingleProcessor
Execute a OData entity simple property request.
-
Method Summary
Modifier and TypeMethodDescriptionreadEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) Reads a simple property of an entity.updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates a simple property of an entity.Methods inherited from interface org.apache.olingo.odata2.api.processor.ODataProcessor
getContext, setContext
-
Method Details
-
readEntitySimpleProperty
ODataResponse readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) throws ODataException Reads a simple property of an entity.- Parameters:
contentType- the content type of the response- Returns:
- a
ODataResponseobject - Throws:
ODataException
-
updateEntitySimpleProperty
ODataResponse updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException Updates a simple 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 bodycontentType- the content type of the response- Returns:
- a
ODataResponseobject - Throws:
ODataException
-