-
Method Summary
Gets piped stream to be used to stream batch items.
Appends the given byte array to the payload.
rawAppend(byte[] toBeStreamed,
int off,
int len)
Appends the given byte array to the payload.
Methods inherited from interface org.apache.olingo.client.api.communication.request.ODataRequest
addCustomHeader, getAccept, getContentType, getHeader, getHeaderNames, getHttpRequest, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArray
-
Method Details
-
getOutputStream
Gets piped stream to be used to stream batch items.
- Returns:
- piped stream for the payload.
-
rawAppend
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
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.