org.apache.olingo.client.api.communication.request.batch

## Interface BatchManager

- All Superinterfaces:
    ODataPayloadManager<ODataBatchResponse>, ODataStreamer

      public interface BatchManager
      extends ODataPayloadManager<ODataBatchResponse>

  Batch request payload management.

- - ### Field Summary

    - ### Fields inherited from interface org.apache.olingo.client.api.communication.request.ODataStreamer

      `CRLF`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ODataChangeset` | `addChangeset()` Gets a changeset batch item instance.
    `void` | `addRequest(ODataBatchableRequest request)` Adds a retrieve batch item instance.

    - ### Methods inherited from interface org.apache.olingo.client.api.communication.request.ODataPayloadManager

      `finalizeBody, getAsyncResponse, getBody, getResponse`

    - ### Methods inherited from interface org.apache.olingo.client.api.communication.request.ODataStreamer

      `getBodyStreamWriter`

- - ### Method Detail

    - #### addChangeset

          ODataChangeset addChangeset()

      Gets a changeset batch item instance. A changeset can be submitted embedded into a batch request only.
      Returns:
        ODataChangeset instance.

    - #### addRequest

          void addRequest(ODataBatchableRequest request)

      Adds a retrieve batch item instance. A retrieve item can be submitted embedded into a batch request only.
      Parameters:
        `request` - retrieve request to batch.

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.