I want to upload a File to my Apache ISIS Webserver. At the moment I convert the File to a String first and send this String to the RESTService. But I figured out that Apache ISIS allocates a lot of java memory space for each of the Strings (the Files are about 40MB).
No I want to know, if I can send my File via InputStream or something other to DO NOT allocate so much of memoryspace, rather than saving the file directly to a temporary location.
Is this possible somehow?
Thanks in advice