resteasy-reactive-client reads full response bytes in memory #50813
-
|
Hi, it seems that making a GET call like using the client from seems to read the full response bytes into memory on the the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
Beta Was this translation helpful? Give feedback.
-
|
What is it exactly that you are trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
|
I'm downloading a potentially large file, i.e. I'm getting a stream |
Beta Was this translation helpful? Give feedback.
You need to use
client.target(downloadUri).request(MediaType.APPLICATION_OCTET_STREAM).get(InputStream.class)