
|
If you were logged in you would be able to see more operations.
|
|
|
|
Sometimes what you want to stream to the response is a file with a given name, a PDF for instance. In that case, you need to set the header:
"Content-disposition", "attachment; filename.pdf"
The StreamResult class should be enhanced so that it has the ability to take a filename and set the header.
|
|
Description
|
Sometimes what you want to stream to the response is a file with a given name, a PDF for instance. In that case, you need to set the header:
"Content-disposition", "attachment; filename.pdf"
The StreamResult class should be enhanced so that it has the ability to take a filename and set the header. |
Show » |
|