Interface EntitySimplePropertyProcessor
-
- All Superinterfaces:
ODataProcessor
- All Known Implementing Classes:
ODataSingleProcessor
public interface EntitySimplePropertyProcessor extends ODataProcessor
Execute a OData entity simple property request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ODataResponsereadEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType)Reads a simple property of an entity.ODataResponseupdateEntitySimpleProperty(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 Detail
-
readEntitySimpleProperty
ODataResponse readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) throws ODataException
Reads a simple property of an entity.- Parameters:
uriInfo- URI InfocontentType- the content type of the response- Returns:
- a
ODataResponseobject - Throws:
ODataException- Caso ocorra exceção OData
-
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- Caso ocorra exceção OData
-
-