public interface ODataContent
write
methods are used.
If this happens NO exception will be thrown but if registered the
org.apache.olingo.server.api.ODataContentWriteErrorCallback is called.Modifier and Type | Method and Description |
---|---|
void |
write(OutputStream stream)
Write the available content into the given
OutputStream . |
void |
write(WritableByteChannel channel)
Write the available content into the given
WritableByteChannel . |
void write(WritableByteChannel channel)
WritableByteChannel
.
If during write of the content an exception is thrown this exception will be catched
and the org.apache.olingo.server.api.ODataContentWriteErrorCallback is called (if registered).channel
- channel in which the content is written.void write(OutputStream stream)
OutputStream
.
If during write of the content an exception is thrown this exception will be catched
and the org.apache.olingo.server.api.ODataContentWriteErrorCallback is called (if registered).stream
- stream in which the content is written.Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.