public abstract class AbstractODataBatchRequestItem extends AbstractODataStreamer implements ODataBatchRequestItem
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasStreamedSomething
Stream started check.
|
protected ODataBatchRequest |
req
OData batch request.
|
LOGCRLF| Constructor and Description |
|---|
AbstractODataBatchRequestItem(ODataBatchRequest req)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the item.
|
protected abstract void |
closeItem()
Closes the current item.
|
boolean |
hasStreamedSomething()
Checks if the streaming of the current item is started yet.
|
boolean |
isOpen()
Checks if the current item is still opened.
|
protected void |
streamRequestHeader(ODataBatchableRequest request)
Stream the given request header.
|
protected void |
streamRequestHeader(String contentId)
Stream the given request header.
|
getBodyStreamWriter, newLine, streamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBodyStreamWriterprotected boolean hasStreamedSomething
protected ODataBatchRequest req
public AbstractODataBatchRequestItem(ODataBatchRequest req)
req - OData batch request.public boolean isOpen()
isOpen in interface ODataBatchRequestItempublic void close()
close in interface ODataBatchRequestItemprotected void streamRequestHeader(String contentId)
Use this method to stream changeset items.
contentId - changeset item id.protected void streamRequestHeader(ODataBatchableRequest request)
request - request to be batched.public boolean hasStreamedSomething()
hasStreamedSomething in interface ODataBatchRequestItemprotected abstract void closeItem()
Copyright © 2023. All rights reserved.