| 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, SerializerException
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 failureSerializerException - if serialization failedvoid createReference(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat) throws ODataApplicationException, DeserializerException
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 failureDeserializerException - if de-serialization failedvoid updateReference(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat) throws ODataApplicationException, DeserializerException
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 failureDeserializerException - if de-serialization failedvoid deleteReference(ODataRequest request, ODataResponse response, UriInfo uriInfo) throws ODataApplicationException
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 failureCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.