Interface ODataBatchRequest

All Superinterfaces:
ODataRequest, ODataStreamedRequest<ODataBatchResponse,BatchManager>

public interface ODataBatchRequest extends ODataStreamedRequest<ODataBatchResponse,BatchManager>
  • Method Details

    • getOutputStream

      PipedOutputStream getOutputStream()
      Gets piped stream to be used to stream batch items.
      Returns:
      piped stream for the payload.
    • rawAppend

      ODataBatchRequest rawAppend(byte[] toBeStreamed) throws IOException
      Appends the given byte array to the payload.
      Parameters:
      toBeStreamed - byte array to be appended.
      Returns:
      the current batch request.
      Throws:
      IOException - in case of write errors.
    • rawAppend

      ODataBatchRequest rawAppend(byte[] toBeStreamed, int off, int len) throws IOException
      Appends the given byte array to the payload.
      Parameters:
      toBeStreamed - byte array to be appended.
      off - byte array offset.
      len - number of byte to be streamed.
      Returns:
      the current batch request.
      Throws:
      IOException - in case of write errors.