public interface BatchFacade
ODataRequest and BatchRequestPart.
Within a BatchProcessor implementation BatchRequestsParts should be passed to
handleBatchRequest(BatchRequestPart). If only if the BatchRequests part represents
a change set, the request will be delegated to
BatchProcessor.processChangeSet(BatchFacade, java.util.List).
Otherwise the requests will be directly executed.
The processor implementation could use handleODataRequest(ODataRequest) to processes
requests in a change set.| 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 a ODataRequest, which must be a part of a change set.
|
ODataResponse handleODataRequest(ODataRequest request) throws BatchDeserializerException
request - ODataRequest to processBatchDeserializerExceptionODataResponsePart handleBatchRequest(BatchRequestPart request) throws BatchDeserializerException
request - Request to processODataResponsePartBatchDeserializerExceptionString extractBoundaryFromContentType(String contentType) throws BatchDeserializerException
contentType - Content TypeBatchDeserializerExceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.