public interface EntityProcessor extends Processor
| Modifier and Type | Method and Description |
|---|---|
void |
createEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Creates an entity with send data in the persistence and puts content, status, and Location into the response.
|
void |
deleteEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo)
Deletes entity from persistence and puts the status into the response.
|
void |
readEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads entity data from persistence and puts serialized content and status into the response.
|
void |
updateEntity(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Update entity data with send data in the persistence and puts content, status, and Location into the response.
|
void readEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
request - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionvoid createEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
request - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionvoid updateEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
request - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionvoid deleteEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
request - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.