public interface ODataBatchRequest extends ODataStreamedRequest<ODataBatchResponse,BatchManager>
| Modifier and Type | Method and Description |
|---|---|
PipedOutputStream |
getOutputStream()
Gets piped stream to be used to stream batch items.
|
ODataBatchRequest |
rawAppend(byte[] toBeStreamed)
Appends the given byte array to the payload.
|
ODataBatchRequest |
rawAppend(byte[] toBeStreamed,
int off,
int len)
Appends the given byte array to the payload.
|
payloadManageraddCustomHeader, getAccept, getContentType, getHeader, getHeaderNames, getHttpRequest, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArrayPipedOutputStream getOutputStream()
ODataBatchRequest rawAppend(byte[] toBeStreamed) throws IOException
toBeStreamed - byte array to be appended.IOException - in case of write errors.ODataBatchRequest 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–2023 The Apache Software Foundation. All rights reserved.