接口 StreamingHttpOutputMessage.Body

封闭接口:
StreamingHttpOutputMessage
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public static interface StreamingHttpOutputMessage.Body
Defines the contract for bodies that can be written directly to an OutputStream. Useful with HTTP client libraries that provide indirect access to an OutputStream via a callback mechanism.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    writeTo(OutputStream outputStream)
    Write this body to the given OutputStream.