| Modifier and Type | Method and Description |
|---|---|
void |
createReference(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat)
Creates entity reference in the persistence and puts content, status, and Location into the response.
|
void |
deleteReference(ODataRequest request,
ODataResponse response,
UriInfo uriInfo)
Deletes reference to an entity from persistence and puts the status into the response.
|
void |
readReference(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads entity reference from persistence and put it as serialized content and status into the response.
|
void |
updateReference(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat)
Update entity reference in the persistence and puts content, status, and Location into the response.
|
void readReference(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 createReference(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat) 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 requestODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionvoid updateReference(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat) 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 requestODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionvoid deleteReference(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.