public interface ZeroCopyHttpOutputMessage extends ReactiveHttpOutputMessage
ReactiveOutputMessage のサブインターフェース。| 修飾子と型 | メソッドと説明 |
|---|---|
default reactor.core.publisher.Mono<java.lang.Void> | writeWith(java.io.File file, long position, long count) 指定された File を使用して、メッセージの本文を基礎となる HTTP レイヤーに書き込みます。 |
reactor.core.publisher.Mono<java.lang.Void> | writeWith(java.nio.file.Path file, long position, long count) 指定された Path を使用して、メッセージの本文を基礎となる HTTP レイヤーに書き込みます。 |
beforeCommit, bufferFactory, isCommitted, setComplete, writeAndFlushWith, writeWithgetHeadersdefault reactor.core.publisher.Mono<java.lang.Void> writeWith(java.io.File file,
long position,
long count)File を使用して、メッセージの本文を基礎となる HTTP レイヤーに書き込みます。file - 転送するファイル position - 転送を開始するファイル内の位置 count - 転送されるバイト数 reactor.core.publisher.Mono<java.lang.Void> writeWith(java.nio.file.Path file,
long position,
long count)Path を使用して、メッセージの本文を基礎となる HTTP レイヤーに書き込みます。file - 転送するファイル position - 転送を開始するファイル内の位置 count - 転送されるバイト数