Support StreamingResponseBody return value type
Issue: SPR-12831
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -219,6 +219,9 @@ import java.util.concurrent.Callable;
|
||||
* <li>An {@link org.springframework.web.servlet.mvc.method.annotation.SseEmitter}
|
||||
* can be used to write Server-Sent Events to the response asynchronously;
|
||||
* also supported as the body within {@code ResponseEntity}.</li>
|
||||
* <li>A {@link org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody}
|
||||
* can be used to write to the response asynchronously;
|
||||
* also supported as the body within {@code ResponseEntity}.</li>
|
||||
* <li>{@code void} if the method handles the response itself (by
|
||||
* writing the response content directly, declaring an argument of type
|
||||
* {@link javax.servlet.ServletResponse} / {@link javax.servlet.http.HttpServletResponse}
|
||||
|
||||
Reference in New Issue
Block a user