Where is the data stored?
I do not think that it is stored. The Streaming API does not use DiskFileItemFactory. But it uses a buffer to copy data, as BalusC published. After you download the stream, you can use
long bytesCopied = Streams.copy(yourInputStream, yourOutputStream, true);
Check out the API
source
share