public interface EntityProcessor extends ODataProcessor
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
deleteEntity(DeleteUriInfo uriInfo,
String contentType)
Deletes an entity.
|
ODataResponse |
existsEntity(GetEntityCountUriInfo uriInfo,
String contentType)
Checks whether an entity exists.
|
ODataResponse |
readEntity(GetEntityUriInfo uriInfo,
String contentType)
Reads an entity.
|
ODataResponse |
updateEntity(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
boolean merge,
String contentType)
Updates an entity.
|
getContext, setContextODataResponse readEntity(GetEntityUriInfo uriInfo, String contentType) throws ODataException
contentType - the content type of the responseODataResponse objectODataExceptionODataResponse existsEntity(GetEntityCountUriInfo uriInfo, String contentType) throws ODataException
contentType - the content type of the responseODataResponse objectODataExceptionODataResponse updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) throws ODataException
uriInfo - information about the request URIcontent - the content of the request, containing the updated entity datarequestContentType - the content type of the request bodymerge - if true, properties not present in the data are left unchanged;
if false, they are resetcontentType - the content type of the responseODataResponse objectODataExceptionODataResponse deleteEntity(DeleteUriInfo uriInfo, String contentType) throws ODataException
uriInfo - a DeleteUriInfo object with information from the URI parsercontentType - the content type of the responseODataResponse objectODataExceptionCopyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.