spring-framework / org.springframework.http / StreamingHttpOutputMessage

StreamingHttpOutputMessage

interface StreamingHttpOutputMessage : HttpOutputMessage

Represents a HTTP output message that allows for setting a streaming body. Note that such messages typically do not support #getBody() access.

Author
Arjen Poutsma

Since
4.0

See Also
#setBody

Functions

setBody

abstract fun setBody(body: Body): Unit

Set the streaming body for this message.