public abstract class AbstractODataStreamer extends Object implements ODataStreamer
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG
Logger.
|
| Constructor and Description |
|---|
AbstractODataStreamer(PipedOutputStream bodyStreamWriter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PipedOutputStream |
getBodyStreamWriter()
Gets the piped stream to be used to stream the payload.
|
protected void |
newLine()
Stream CR/LF.
|
protected void |
stream(byte[] src)
Writes the gibe byte array onto the output stream provided at instantiation time.
|
public AbstractODataStreamer(PipedOutputStream bodyStreamWriter)
bodyStreamWriter - piped stream to be used to retrieve the payload.protected void stream(byte[] src)
src - byte array to be written.protected void newLine()
public PipedOutputStream getBodyStreamWriter()
getBodyStreamWriter in interface ODataStreamerCopyright © 2023. All rights reserved.