Interface StreamingHttpOutputMessage.Body

Enclosing interface:
StreamingHttpOutputMessage
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeTo(OutputStream outputStream)
    Write this body to the given OutputStream.