Interface BatchHandler
-
public interface BatchHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchResponseParthandleBatchPart(BatchRequestPart batchRequestPart)Handles theBatchRequestPartin a way that it results in a correspondingBatchResponsePart.ODataResponsehandleRequest(ODataRequest request)Delegates a handling of the requestODataRequestto the request handler and provides ODataResponseODataResponse.
-
-
-
Method Detail
-
handleBatchPart
BatchResponsePart handleBatchPart(BatchRequestPart batchRequestPart) throws ODataException
Handles the
BatchRequestPartin a way that it results in a correspondingBatchResponsePart.- Parameters:
batchRequestPart- the incoming MIME part- Returns:
- the corresponding result
- Throws:
ODataException- Caso ocorra uma exceção OData
-
handleRequest
ODataResponse handleRequest(ODataRequest request) throws ODataException
Delegates a handling of the request
ODataRequestto the request handler and provides ODataResponseODataResponse.- Parameters:
request- the incoming request- Returns:
- the corresponding result
- Throws:
ODataException- Caso ocorra uma exceção OData
-
-