パッケージ org.springframework.http

インターフェース ZeroCopyHttpOutputMessage

すべてのスーパーインターフェース:
HttpMessageReactiveHttpOutputMessage

public interface ZeroCopyHttpOutputMessage extends ReactiveHttpOutputMessage
「ゼロコピー」ファイル転送をサポートする ReactiveOutputMessage のサブインターフェース。
導入:
5.0
作成者:
Arjen Poutsma, Juergen Hoeller
関連事項:
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    default reactor.core.publisher.Mono<VoidSE>
    writeWith(FileSE file, long position, long count)
    指定された FileSE を使用して、メッセージの本文を基礎となる HTTP レイヤーに書き込みます。
    reactor.core.publisher.Mono<VoidSE>
    writeWith(PathSE file, long position, long count)
    指定された PathSE を使用して、メッセージの本文を基礎となる HTTP レイヤーに書き込みます。

    インターフェース org.springframework.http.HttpMessage から継承されたメソッド

    getHeaders

    インターフェース org.springframework.http.ReactiveHttpOutputMessage から継承されたメソッド

    beforeCommit, bufferFactory, isCommitted, setComplete, writeAndFlushWith, writeWith
  • メソッドの詳細

    • writeWith

      default reactor.core.publisher.Mono<VoidSE> writeWith(FileSE file, long position, long count)
      指定された FileSE を使用して、メッセージの本文を基礎となる HTTP レイヤーに書き込みます。
      パラメーター:
      file - 転送するファイル
      position - 転送を開始するファイル内の位置
      count - 転送されるバイト数
      戻り値:
      完了またはエラーを示す発行元。
    • writeWith

      reactor.core.publisher.Mono<VoidSE> writeWith(PathSE file, long position, long count)
      指定された PathSE を使用して、メッセージの本文を基礎となる HTTP レイヤーに書き込みます。
      パラメーター:
      file - 転送するファイル
      position - 転送を開始するファイル内の位置
      count - 転送されるバイト数
      戻り値:
      完了またはエラーを示す発行元。
      導入:
      5.1