async-http-client
async-http-client copied to clipboard
Remove ResponseBodyPartFactory.LAZY
Following https://github.com/AsyncHttpClient/async-http-client/issues/1765#issuecomment-765416561.
Hello, I found that ResponseBodyPartFactory.LAZY avoids copying data to java heap compared to ResponseBodyPartFactory.EAGER.
It should be useful in some scenarios. I think it should be good for performance. Compared with other java http client, it is also more flexible, but my usage is wrong. Could you please consider not deleting ResponseBodyPartFactory.LAZY? And consider how to use the prompt error?
Sorry, I am not an expert, this is just my suggestion. Thank you
@lakxtxue Sure, I'll take a closer look at when and how it's useful before removing it.
This is lower on the TODO list anyhow, so it's not expected to be removed anytime soon. :)
Thanks for chiming in!