org.springframework.http

## Interface StreamingHttpOutputMessage

- All Superinterfaces:
    HttpMessage, HttpOutputMessage

      public interface StreamingHttpOutputMessage
      extends HttpOutputMessage

  Represents an HTTP output message that allows for setting a streaming body. Note that such messages typically do not support `HttpOutputMessage.getBody()` access.
  Since:
    4.0
  Author:
    Arjen Poutsma
  See Also:
    `setBody(org.springframework.http.StreamingHttpOutputMessage.Body)`

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `StreamingHttpOutputMessage.Body` Defines the contract for bodies that can be written directly to an `OutputStream`.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setBody(StreamingHttpOutputMessage.Body body)` Set the streaming body callback for this message.

    - ### Methods inherited from interface org.springframework.http.HttpOutputMessage

      `getBody`

    - ### Methods inherited from interface org.springframework.http.HttpMessage

      `getHeaders`

- - ### Method Detail

    - #### setBody

          void setBody(StreamingHttpOutputMessage.Body body)

      Set the streaming body callback for this message.
      Parameters:
        `body` - the streaming body callback