Interface BatchProcessor
- All Superinterfaces:
Processor
Processor interface for handling a single instance of an Entity Type.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processBatch
(BatchFacade facade, ODataRequest request, ODataResponse response) Process a complete batch request and puts serialized content and status into the response.processChangeSet
(BatchFacade facade, List<ODataRequest> requests) Process a batch change set (containing several batch requests) and puts serialized content and status into the response.
-
Method Details
-
processBatch
void processBatch(BatchFacade facade, ODataRequest request, ODataResponse response) throws ODataApplicationException, ODataLibraryException Process a complete batch request and puts serialized content and status into the response.- Parameters:
facade
- BatchFacade which should be used for further batch part handlingrequest
- OData request object containing raw HTTP informationresponse
- OData response object for collecting response data- Throws:
ODataApplicationException
ODataLibraryException
-
processChangeSet
ODataResponsePart processChangeSet(BatchFacade facade, List<ODataRequest> requests) throws ODataApplicationException, ODataLibraryException Process a batch change set (containing several batch requests) and puts serialized content and status into the response.- Parameters:
facade
- BatchFacade which should be used for further batch part handlingrequests
- List of ODataRequests which are included in the to be processed change set- Throws:
ODataApplicationException
ODataLibraryException
-