public class TechnicalBatchProcessor extends TechnicalProcessor implements BatchProcessor
dataProvider, odata, serviceMetadata| Constructor and Description |
|---|
TechnicalBatchProcessor(DataProvider dataProvider) |
| 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.
|
blockBoundActions, checkRequestFormat, getEdmEntitySet, getLastNavigation, init, isODataMetadataNone, readEntity, readEntity, readEntityCollection, validateOptionspublic TechnicalBatchProcessor(DataProvider dataProvider)
public void processBatch(BatchFacade facade, ODataRequest request, ODataResponse response) throws ODataApplicationException, ODataLibraryException
BatchProcessorprocessBatch in interface BatchProcessorfacade - BatchFacade which should be used for further batch part handlingrequest - OData request object containing raw HTTP informationresponse - OData response object for collecting response dataODataApplicationExceptionODataLibraryExceptionpublic ODataResponsePart processChangeSet(BatchFacade facade, List<ODataRequest> requests) throws ODataApplicationException, ODataLibraryException
BatchProcessorprocessChangeSet in interface BatchProcessorfacade - BatchFacade which should be used for further batch part handlingrequests - List of ODataRequests which are included in the to be processed change setODataApplicationExceptionODataLibraryExceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.