Modifier and Type | Method and Description |
---|---|
void |
processBatch(BatchFacade facade,
ODataRequest request,
ODataResponse response)
Process a complete batch request and puts serialized content and status into the response.
|
ODataResponsePart |
processChangeSet(BatchFacade facade,
List<ODataRequest> requests)
Process a batch change set (containing several batch requests)
and puts serialized content and status into the response.
|
void processBatch(BatchFacade facade, ODataRequest request, ODataResponse response) throws ODataApplicationException, ODataLibraryException
facade
- BatchFacade which should be used for further batch part handlingrequest
- OData request object containing raw HTTP informationresponse
- OData response object for collecting response dataODataApplicationException
ODataLibraryException
ODataResponsePart processChangeSet(BatchFacade facade, List<ODataRequest> requests) throws ODataApplicationException, ODataLibraryException
facade
- BatchFacade which should be used for further batch part handlingrequests
- List of ODataRequests which are included in the to be processed change setODataApplicationException
ODataLibraryException
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.