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, validateOptions
public TechnicalBatchProcessor(DataProvider dataProvider)
public void processBatch(BatchFacade facade, ODataRequest request, ODataResponse response) throws ODataApplicationException, ODataLibraryException
BatchProcessor
processBatch
in interface BatchProcessor
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
public ODataResponsePart processChangeSet(BatchFacade facade, List<ODataRequest> requests) throws ODataApplicationException, ODataLibraryException
BatchProcessor
processChangeSet
in interface BatchProcessor
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–2015 The Apache Software Foundation. All rights reserved.