public class BatchResponseWriter extends Object
| Constructor and Description |
|---|
BatchResponseWriter()
Creates a BatchResponseWriter which write the
entity as a String with
default charset (see BatchHelper.DEFAULT_CHARSET). |
BatchResponseWriter(boolean writeEntityAsInputStream)
Creates a BatchResponseWriter
|
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
writeResponse(List<BatchResponsePart> batchResponseParts) |
public BatchResponseWriter()
entity as a String with
default charset (see BatchHelper.DEFAULT_CHARSET).public BatchResponseWriter(boolean writeEntityAsInputStream)
writeEntityAsInputStream - if true the entity is set a InputStream.
if false the entity is set a String with
default charset (see BatchHelper.DEFAULT_CHARSET).public ODataResponse writeResponse(List<BatchResponsePart> batchResponseParts) throws BatchException
BatchExceptionCopyright © 2020. All rights reserved.