public class BatchFacadeImpl extends Object implements BatchFacade
| Constructor and Description |
|---|
BatchFacadeImpl(ODataHandler oDataHandler,
BatchProcessor batchProcessor,
boolean isStrict)
Creates a new BatchFacade.
|
| Modifier and Type | Method and Description |
|---|---|
String |
extractBoundaryFromContentType(String contentType)
Extracts the boundary of a multipart/mixed header.
|
ODataResponsePart |
handleBatchRequest(BatchRequestPart request)
Handles a BatchRequestPart.
|
ODataResponse |
handleODataRequest(ODataRequest request)
Executes an ODataRequest, which must be a part of a change set.
|
public BatchFacadeImpl(ODataHandler oDataHandler, BatchProcessor batchProcessor, boolean isStrict)
oDataHandler - handlerbatchProcessor - batch processorisStrict - mode switch (currently not used)public ODataResponse handleODataRequest(ODataRequest request) throws ODataApplicationException, ODataLibraryException
BatchFacadehandleODataRequest in interface BatchFacaderequest - ODataRequest to processODataApplicationExceptionODataLibraryExceptionpublic ODataResponsePart handleBatchRequest(BatchRequestPart request) throws ODataApplicationException, ODataLibraryException
BatchFacadehandleBatchRequest in interface BatchFacaderequest - Request to processODataResponsePartODataApplicationExceptionODataLibraryExceptionpublic String extractBoundaryFromContentType(String contentType) throws BatchDeserializerException
BatchFacadeextractBoundaryFromContentType in interface BatchFacadecontentType - Content TypeBatchDeserializerExceptionCopyright © 2023. All rights reserved.