public abstract class DeltaStreamWriter
extends java.lang.Object
A response stream writer for OData delta responses.
| Constructor and Description |
|---|
DeltaStreamWriter() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
finish(java.lang.RuntimeException error)
Finish writing stream.
|
abstract void |
start()
Start writing stream.
|
abstract void |
writeEntity(EntityValue entity)
Write a changed entity to this stream.
|
abstract void |
writeLink(ChangedLink link)
Write a changed link to this stream.
|
public abstract void finish(java.lang.RuntimeException error)
Finish writing stream.
error - (nullable) Optional error. If null, the stream is valid. If non-null, the stream (received by client) will be intentionally malformed.public abstract void start()
Start writing stream.
public abstract void writeEntity(EntityValue entity)
Write a changed entity to this stream.
entity - Changed entity.public abstract void writeLink(ChangedLink link)
Write a changed link to this stream.
link - Changed link.