interface ZeroCopyHttpOutputMessage : ReactiveHttpOutputMessage
Sub-interface of ReactiveOutputMessage
that has support for "zero-copy" file transfers.
Author
Arjen Poutsma
Since
5.0
See Also
<a href="https://en.wikipedia.org/wiki/Zero-copy">Zero-copy</a>
abstract fun writeWith(file: File, position: Long, count: Long): Mono<Void>
Use the given File to write the body of the message to the underlying HTTP layer. |