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.
ReSTful Jersey ウェブサービスから File / OutputStream を返す方法の良い例をいくつか見つけましたが、それらはすべて最終的にファイル システム上に File を作成するようです。私の問題は、これらのファイルをマシン上に残したくないということです。これらのファイルのファイル システムを監視するバックエンド プロセスを使用せずに、サービスがクライアントに応答を送信した後にクリーンアップする方法はありますか?
base64でファイルを返し、処理して忘れることができます。