spring-framework / org.springframework.web.servlet.mvc.method.annotation / StreamingResponseBody / writeTo

writeTo

abstract fun writeTo(outputStream: OutputStream): Unit

A callback for writing to the response body.

Parameters

outputStream - the stream for the response body

Exceptions

IOException - an exception while writing