Major
Nice to have
Bugfix
Major
Enhancement
The interface for a download is currently com.top_logic.layout.WindowScope.deliverContent(BinaryData, boolean). This is clumsy, because BinaryData must provide the method InputStream getStream(). For this, the download data must usually already be available and cannot (simply) be dynamically generated during the download.
Improvement
Generalization to BinaryDataSource with an interface void deliverTo(OutputStream out). This fits better to the target interface request.getOutputStream() and allows dynamic generation of download data.
Test
Refactoring, no additional test.