Hi I'm not sure if this is supported or not, but as far as I can tell this middleware doesn't support (memory) efficient serialisation of large responses.
From looking at the code it seems that objects are fully converted into in memory strings before being returned to the web server. Is this a fair assessment?
Would it be possible to support streaming responses with this middleware?
Perhaps by allowing certain handlers to return a piped-input-stream instead of a String?
Hi I'm not sure if this is supported or not, but as far as I can tell this middleware doesn't support (memory) efficient serialisation of large responses.
From looking at the code it seems that objects are fully converted into in memory strings before being returned to the web server. Is this a fair assessment?
Would it be possible to support streaming responses with this middleware?
Perhaps by allowing certain handlers to return a piped-input-stream instead of a String?