Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试创建一个控制器来使用流方法下载和上传文件,在我的情况下,所有文件都作为 Blob 保存在数据库中。我阅读了 Jboss Netty 的文档,但我认为这不是我的最佳解决方案。 有没有人以前做过类似的事情?
看看这个文件上传/下载的例子。您可以在控制器中添加额外的处理(压缩...)。