public interface ODataBatchableRequest extends ODataRequest
Modifier and Type | Method and Description |
---|---|
void |
batch(ODataBatchRequest req)
Writes (and consume) the request onto the given batch stream.
|
void |
batch(ODataBatchRequest req,
String contentId)
Writes (and consume) the request onto the given batch stream.
|
addCustomHeader, getAccept, getContentType, getHeader, getHeaderNames, getIfMatch, getIfNoneMatch, getMethod, getPrefer, getURI, rawExecute, setAccept, setContentType, setIfMatch, setIfNoneMatch, setPrefer, setURI, setXHTTPMethod, toByteArray
void batch(ODataBatchRequest req)
Please note that this method will consume the request (execution won't be possible anymore).
req
- destination batch request.void batch(ODataBatchRequest req, String contentId)
Please note that this method will consume the request (execution won't be possible anymore).
req
- destination batch request.contentId
- ContentId header value to be added to the serialization. Use this in case of changeset items.Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.