public interface CommonODataBatchRequest
Modifier and Type | Method and Description |
---|---|
PipedOutputStream |
getOutputStream()
Gets piped stream to be used to stream batch items.
|
CommonODataBatchRequest |
rawAppend(byte[] toBeStreamed)
Appends the given byte array to the payload.
|
CommonODataBatchRequest |
rawAppend(byte[] toBeStreamed,
int off,
int len)
Appends the given byte array to the payload.
|
PipedOutputStream getOutputStream()
CommonODataBatchRequest rawAppend(byte[] toBeStreamed) throws IOException
toBeStreamed
- byte array to be appended.IOException
- in case of write errors.CommonODataBatchRequest rawAppend(byte[] toBeStreamed, int off, int len) throws IOException
toBeStreamed
- byte array to be appended.off
- byte array offset.len
- number of byte to be streamed.IOException
- in case of write errors.Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.