Support StreamingResponseBody return value type
Issue: SPR-12831
This commit is contained in:
@@ -1261,6 +1261,8 @@ The following are the supported return types:
|
||||
asynchronously; also supported as the body within a `ResponseEntity`.
|
||||
* An `SseEmitter` can be returned to write Server-Sent Events to the response
|
||||
asynchronously; also supported as the body within a `ResponseEntity`.
|
||||
* A `StreamingResponseBody` can be returned to write to the response OutputStream
|
||||
asynchronously; also supported as the body within a `ResponseEntity`.
|
||||
* Any other return type is considered to be a single model attribute to be exposed to
|
||||
the view, using the attribute name specified through `@ModelAttribute` at the method
|
||||
level (or the default attribute name based on the return type class name). The model
|
||||
|
||||
Reference in New Issue
Block a user