public interface ComplexCollectionProcessor extends Processor
Modifier and Type | Method and Description |
---|---|
void |
deleteComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo)
Deletes complex-type collection from an entity and puts the status into the response.
|
void |
readComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType responseFormat)
Reads complex-type collection.
|
void |
updateComplexCollection(ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
ContentType requestFormat,
ContentType responseFormat)
Update (replace) complex-type collection with send data in the persistence and
puts content, status, and Location into the response.
|
void readComplexCollection(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 failureODataLibraryException
void updateComplexCollection(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 failureODataLibraryException
void deleteComplexCollection(ODataRequest request, ODataResponse response, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
EMPTY
.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 failureODataLibraryException
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.