org.apache.olingo.odata2.api.batch

## Interface BatchHandler

-     public interface BatchHandler

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `BatchResponsePart` | `handleBatchPart(BatchRequestPart batchRequestPart)` Handles the `BatchRequestPart` in a way that it results in a corresponding `BatchResponsePart`.
    `ODataResponse` | `handleRequest(ODataRequest request)` Delegates a handling of the request `ODataRequest` to the request handler and provides ODataResponse `ODataResponse`.

- - ### Method Detail

    - #### handleBatchPart

          BatchResponsePart handleBatchPart(BatchRequestPart batchRequestPart)
                                     throws ODataException

      Handles the `BatchRequestPart` in a way that it results in a corresponding `BatchResponsePart`.

      Parameters:
        `batchRequestPart` - the incoming MIME part
      Returns:
        the corresponding result
      Throws:
        `ODataException`

    - #### handleRequest

          ODataResponse handleRequest(ODataRequest request)
                               throws ODataException

      Delegates a handling of the request `ODataRequest` to the request handler and provides ODataResponse `ODataResponse`.

      Parameters:
        `request` - the incoming request
      Returns:
        the corresponding result
      Throws:
        `ODataException`

Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.